Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

ParticleSystems.SpriteParticleTemplate


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
//=============================================================================
// $Author: Aleiby $
// $Date: 9/11/02 2:16a $
// $Revision: 9 $
//=============================================================================

//------------------------------------------------------------------------------
// Name:	SpriteParticleTemplate.uc
// Author:	Aaron R Leiby
// Date:	9 March 2000
//------------------------------------------------------------------------------
// Description:  
//------------------------------------------------------------------------------
// How to use this class:
//------------------------------------------------------------------------------

class SpriteParticleTemplate extends ParticleTemplate
	native;

/////////////////////////
// Initialization data //
/////////////////////////

var() public  Material        Sprite;
var() public  TextureArray    SpriteArray;
var() public  array<int>      SpriteIndices;
var   public  int             SpriteIndex;	// current sprite index (used internally for linear sprite iteration).

var() public  EDrawStyle      Style;

var() public  Range           InitialSize;
var() public  Range           InitialAlpha;

var() public  bool	          bFadeAlphaOnly;	// Don't fade out RGB values.
var() public  bool            bAnimateSprite;	// Linearly iterates across sprite indices over lifespan of particle.
var() public  bool            bRandomSprite;	// Randomly select indices from the sprite array.
var(Corona)   bool            bAnimateCorona;	// Linearly iterates across corona indices over lifespan of particle.
var(Corona)   bool            bRandomCorona;	// Randomly select indices from the corona array.
var(Corona)   bool            CoronaOcclude;
var(Corona)   bool            bCoronaFadeAlphaOnly;

var(Corona)   Material        Corona;
var(Corona)   EDrawStyle      CoronaStyle;
var(Corona)   float           CoronaScale;		// relative to base sprite size.
var(Corona)   float           CoronaScaleGlow;	// relative to base sprite alpha.
var(Corona)   TextureArray    CoronaArray;
var(Corona)   array<int>      CoronaIndices;
var           int             CoronaIndex;	// current corona index (used internally for linear corona iteration).
var(Corona)   float           CoronaTraceRate;

defaultproperties
{
	InitialSize=(A=30.000000,B=30.000000)
	InitialAlpha=(A=1.000000,B=1.000000)
	CoronaTraceRate=0.150000
	ParticleType="SpriteParticle"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: sk 3-1-2016 10:38:40.000 - Creation time: sk 3-1-2016 10:48:41.845 - Created with UnCodeX