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

UE3:AnimNotify_Trails (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> AnimNotify >> AnimNotify_Trails
Package: 
Engine

AnimNotify for having a Trails emitter spawn based on an animation.

Properties

Property group 'AnimNotify_Trails'

bPreview

Type: bool

Modifiers: editoronly

If TRUE, the particle system will play in the viewer as well as in game

bSkipIfOwnerIsHidden

Type: bool

If Owner is hidden, skip particle effect

Default value: True

Property group 'Trails'

bIsExtremeContent

Type: bool

If this effect should be considered extreme content

ControlPointSocketName

Type: name

The control point socket - controls the UV tiling as well as tapering the two edges to this point.

Default value: 'MidControl'

FirstEdgeSocketName

Type: name

The first edge socket - with the second edge defines the edges of the trail

Default value: 'EndControl'

PSTemplate

Type: ParticleSystem

The Particle system to play

SamplesPerSecond

Type: float

The frame rate (FPS) to sample the animation at for trail points

Default value: 60.0

SecondEdgeSocketName

Type: name

The second edge socket - with the first edge defines the edges of the trail

Default value: 'StartControl'

Internal variables

AnimNodeSeq

Type: AnimNodeSequence

Modifiers: transient


bResampleRequired

Type: bool


CurrentTime

Type: float

Modifiers: transient

Used by the event functions...

EndTime

Type: float

The end time (will auto-adjust Duration setting, and vice-versa)

LastStartTime

Type: float

Locally store 'start' time to determine when regenerating the curve data is required.

SampleTimeStep

Type: float

Modifiers: deprecated

The timestep at which to sample the animation for trail points

Default value: 0.016

TimeStep

Type: float

Modifiers: transient


TrailSampleData

Type: array<TrailSamplePoint>

Modifiers: deprecated


TrailSampledData

Type: array<TrailSample>

The sampled data for the trail

Structs

TrailSample

Modifiers: native

float RelativeTime 
The time value at this sample point, relative to the starting time.
Object.Vector FirstEdgeSample 
The sample for the first edge
Object.Vector SecondEdgeSample 
The sample for the second edge
Object.Vector ControlPointSample 
The sample for the control point

TrailSamplePoint

Modifiers: native

float RelativeTime 
The time value at this sample point, relative to the starting time.
TrailSocketSamplePoint FirstEdgeSample 
The sample for the first edge
TrailSocketSamplePoint SecondEdgeSample 
The sample for the second edge
TrailSocketSamplePoint ControlPointSample 
The sample for the control point

TrailSocketSamplePoint

Modifiers: native

Object.Vector Position 
Position of the socket relative to the root-bone at the sample point
Object.Vector Velocity 
Velocity of the socket at the sample point

Native functions

GetNumSteps

function native int GetNumSteps (int InLastTrailIndex) const

Called from NotifyTick or NotifyEnd, this function will return the number of steps to take for a notify call given the index of the last sample that was processed.

Parameters:

  • InLastTrailIndex - The index of the last sample that was processed.

Returns:

INT The number of steps to take for the notify.