I don't need to test my programs. I have an error-correcting modem.

UE2:TrailEmitter (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT2004 Object >> ParticleEmitter >> TrailEmitter

Contents

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

[edit] Properties

[edit] Property group 'Trail'

[edit] DistanceThreshold

Type: float


Default value: 2.0

[edit] MaxPointsPerTrail

Type: int


Default value: 30

[edit] MaxTrailTwistAngle

Type: int


Default value: 16384

[edit] PointLifeTime

Type: float

0.f for unlimited

[edit] TrailLocation

Type: ETrailLocation

Trail Attachment

[edit] TrailShadeType

Type: ETrailShadeType

Shading effect on trail

[edit] UseCrossedSheets

Type: bool


[edit] Internal variables

[edit] IndexBuffer

Type: IndexBuffer

Modifiers: transient


[edit] IndicesPerParticle

Type: int

Modifiers: transient


[edit] PrimitivesPerParticle

Type: int

Modifiers: transient


[edit] TrailData

Type: array<ParticleTrailData>

Modifiers: transient


[edit] TrailInfo

Type: array<ParticleTrailInfo>

Modifiers: transient


[edit] VertexBuffer

Type: VertexBuffer

Modifiers: transient


[edit] VerticesPerParticle

Type: int

Modifiers: transient


[edit] Enums

[edit] ETrailLocation

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

[edit] 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

[edit] Structs

[edit] ParticleTrailData

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

[edit] 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

[edit] Native functions

[edit] ResetTrail

native final function ResetTrail ()