Always snap to grid

UE2:TrailEmitter (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> ParticleEmitter >> TrailEmitter
Package: 
Engine
This class in other games:
UE2Runtime, UT2003

Emitter: An Unreal Trail Particle Emitter. Revision history: Created by Daniel Vogel Updated by Laurent Delayen

Properties[edit]

Property group 'Trail'[edit]

DistanceThreshold[edit]

Type: float


Default value: 2.0

MaxPointsPerTrail[edit]

Type: int


Default value: 30

MaxTrailTwistAngle[edit]

Type: int


Default value: 16384

PointLifeTime[edit]

Type: float

0.f for unlimited

TrailLocation[edit]

Type: ETrailLocation

Trail Attachment

TrailShadeType[edit]

Type: ETrailShadeType

Shading effect on trail

UseCrossedSheets[edit]

Type: bool


Internal variables[edit]

IndexBuffer[edit]

Type: IndexBuffer

Modifiers: transient


IndicesPerParticle[edit]

Type: int

Modifiers: transient


PrimitivesPerParticle[edit]

Type: int

Modifiers: transient


TrailData[edit]

Type: array<ParticleTrailData>

Modifiers: transient


TrailInfo[edit]

Type: array<ParticleTrailInfo>

Modifiers: transient


VertexBuffer[edit]

Type: VertexBuffer

Modifiers: transient


VerticesPerParticle[edit]

Type: int

Modifiers: transient


Enums[edit]

ETrailLocation[edit]

PTTL_AttachedToParticle 
Attached to Particle
PTTL_FollowEmitter 
Attached to Particle, with added emitter's velocity

ETrailShadeType[edit]

PTTST_None 
Full particle color
PTTST_RandomStatic 
particle color * random opacity set once
PTTST_RandomDynamic 
particle color * random opacity, updated every tick
PTTST_Linear 
smooth linear fade out (begining = 100%, end = 0%)
PTTST_PointLife 
linear fade relative to point's life

Structs[edit]

ParticleTrailData[edit]

Object.Vector Location 
Object.Color Color 
float Size 
int DoubleDummy1 
int DoubleDummy2 

ParticleTrailInfo[edit]

int TrailIndex 
int NumPoints 
Object.Vector LastLocation 
last point location (to compute new points)
Object.Vector LastEmitterLocation 
Laurent -- Last Emitter Location, to process point interpolation

Native functions[edit]

ResetTrail[edit]

native final function ResetTrail ()