Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

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

Property group 'Trail'

DistanceThreshold

Type: float


Default value: 2.0

MaxPointsPerTrail

Type: int


Default value: 30

MaxTrailTwistAngle

Type: int


Default value: 16384

PointLifeTime

Type: float

0.f for unlimited

TrailLocation

Type: ETrailLocation

Trail Attachment

TrailShadeType

Type: ETrailShadeType

Shading effect on trail

UseCrossedSheets

Type: bool


Internal variables

IndexBuffer

Type: IndexBuffer

Modifiers: transient


IndicesPerParticle

Type: int

Modifiers: transient


PrimitivesPerParticle

Type: int

Modifiers: transient


TrailData

Type: array<ParticleTrailData>

Modifiers: transient


TrailInfo

Type: array<ParticleTrailInfo>

Modifiers: transient


VertexBuffer

Type: VertexBuffer

Modifiers: transient


VerticesPerParticle

Type: int

Modifiers: transient


Enums

ETrailLocation

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

ETrailShadeType

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

ParticleTrailData

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

ParticleTrailInfo

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

ResetTrail

native final function ResetTrail ()