SFXOneShotModifier
Engine/source/sfx/sfxModifier.h
An SFXModifier that is triggered once after passing a certain playback position.
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()
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