Torque3D Documentation / _generateds / SFXOneShotModifier

SFXOneShotModifier

Engine/source/sfx/sfxModifier.h

An SFXModifier that is triggered once after passing a certain playback position.

More...

Public Types

Parent 

Protected Attributes

Playback position that triggers the effect.

Protected Functions

Public Functions

SFXOneShotModifier(SFXSource * source, F32 triggerPos, bool removeWhenDone)

Create an effect that triggers when playback of "source" passes "triggerPos".

bool

Update the object state.

Detailed Description

An SFXModifier that is triggered once after passing a certain playback position.

Public Types

typedef SFXModifier Parent 

Protected Attributes

F32 mTriggerPos 

Playback position that triggers the effect.

Protected Functions

_onTrigger()

Reimplemented by: SFXMarkerModifier

Public Functions

SFXOneShotModifier(SFXSource * source, F32 triggerPos, bool removeWhenDone)

Create an effect that triggers when playback of "source" passes "triggerPos".

update()

Reimplemented from: IPolled