I love the smell of UnrealEd crashing in the morning. – tarquin

UE2:ParticleTemplate (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 10:11, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
U2 Object >> ParticleTemplate
Package: 
ParticleSystems
Within class: 
ParticleGenerator
Direct subclasses:
ActorParticleTemplate, RecursiveParticleTemplate, LineManagerTemplate, PointParticleTemplate, PulseLineTemplate, SpriteParticleTemplate, StrandParticleTemplate, StreakParticleTemplate, TarpBuilderTemplate, TexturedStreakParticleTemplate, TriParticleTemplate, TriangleParticleTemplate
This class in other games:
U2XMP

$Author: Aleiby $ $Date: 5/17/02 8:28p $ $Revision: 10 $ Name: ParticleTemplate.uc Author: Aaron R Leiby Date: 9 March 2000 Description: ParticleTemplates are used to store initialization data instead of Particles or ParticleGenerators. There is a 1 to 1 relationship of Particle subclasses to ParticleTemplate subclasses. Each Particle subclass must implement its own ParticleTemplate which is responsible for fully intializing Particles of its associated type (also taking into account that the particle it is inializing could possibly have been recycled, thus we need to inialize *everything* just in case). How to use this class:

If you subclass a Particle, you also need to subclass its ParticleTemplate

to properly initialize all the variables you add to your subclass.

Properties

Property group 'Lighting'

bDynamicLit

Type: bool

Use lights marked as bLightParticles.

Lights

Type: array<Actor>

Add lights to use as lighting.

MaxDynamicLights

Type: int


Default value: 8

RaytracedLights

Type: array<Actor>

Add lights to use as lighting (raytraced for shadows).

Property group 'ParticleTemplate'

AffectingForces

Type: array<Force>

Modifiers: editinline

Templates that this Force affects the particles of.

bExternallyAffected

Type: bool

Register as affected by external forces (such as blowers).

bRandomDrawOrder

Type: bool

Randomly insert the new particles either at the start or the end of the list.

bReverseDrawOrder

Type: bool

If true will draw the particles within this template in reverse order -- that is to say from oldest to newest.

ChangeClass

Type: bool

Dummy var for hanging drop down dialog box off of for changing this template's class.

DrawOrder

Type: float


Default value: 1.0

Extents

Type: Object.Box

Modifiers: const

Bounding box.

InitialLifeSpan

Type: Object.Range


Default value:

Member Value
A 1.0
B 1.0

InitialSpeed

Type: Object.Range


LifeSpanLimitor

Type: Actor


SelectionWeight

Type: float

Part of the selection criteria.

Default value: 1.0

StasisTime

Type: Object.Range

Number of seconds before forces are allowed to affect a newly created particle.

Internal variables

CumulativeFreq

Type: float


Frequency

Type: float

Used internally for linear distributions.

HardwareLightsUsed

Type: int

Modifiers: const

Number of Hardware Lights used, so we know how many to un-set

ParticleClass

Type: int

Modifiers: const, native, noexport

internal particleClass cache (as specified by ParticleType string).

ParticleList

Type: array<Object.ParticleHandle>

Modifiers: native


ParticleType

Type: string

Modifiers: const

Type of particle this template is responsible for initializing.

Default value: "Particle"

Enums

EDrawStyle

STYLE_Translucent 
STYLE_Modulated 
STYLE_Normal 
STYLE_Alpha 
STYLE_AlphaModulate 
STYLE_Brighten 
STYLE_Darken 
STYLE_Masked 
STYLE_TrueTranslucent