The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:SpriteParticleTemplate (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2 Object >> ParticleTemplate >> SpriteParticleTemplate
Package: 
ParticleSystems
Within class: 
ParticleGenerator
Direct subclasses:
ParticleDecalTemplate, Sprite3DParticleTemplate, ViewVelocityScaledParticleTemplate, WetWindshildParticleTemplate
This class in other games:
U2XMP

$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:

Properties[edit]

Property group 'Corona'[edit]

bAnimateCorona[edit]

Type: bool

Linearly iterates across corona indices over lifespan of particle.

bCoronaFadeAlphaOnly[edit]

Type: bool


bRandomCorona[edit]

Type: bool

Randomly select indices from the corona array.

Corona[edit]

Type: Material


CoronaArray[edit]

Type: TextureArray


CoronaIndices[edit]

Type: array<int>


CoronaOcclude[edit]

Type: bool


CoronaScale[edit]

Type: float

relative to base sprite size.

CoronaScaleGlow[edit]

Type: float

relative to base sprite alpha.

CoronaStyle[edit]

Type: ParticleTemplate.EDrawStyle


CoronaTraceRate[edit]

Type: float


Default value: 0.15

Property group 'SpriteParticleTemplate'[edit]

bAnimateSprite[edit]

Type: bool

Linearly iterates across sprite indices over lifespan of particle.

bFadeAlphaOnly[edit]

Type: bool

Don't fade out RGB values.

bRandomSprite[edit]

Type: bool

Randomly select indices from the sprite array.

InitialAlpha[edit]

Type: Object.Range


Default value:

Member Value
A 1.0
B 1.0

InitialSize[edit]

Type: Object.Range


Default value:

Member Value
A 30.0
B 30.0

Sprite[edit]

Type: Material


SpriteArray[edit]

Type: TextureArray


SpriteIndices[edit]

Type: array<int>


Style[edit]

Type: ParticleTemplate.EDrawStyle


Internal variables[edit]

CoronaIndex[edit]

Type: int

current corona index (used internally for linear corona iteration).

SpriteIndex[edit]

Type: int

current sprite index (used internally for linear sprite iteration).

Default values[edit]

Property Value
ParticleType "SpriteParticle"