SFXMarkerModifier
Engine/source/sfx/sfxModifier.h
A modifer that calls a method on the SFXSource when a particular playback position is passed.
Public Types
Parent
Protected Attributes
Symbolic marker name that is passed to the "onMarkerPassed" callback.
Protected Functions
Public Functions
SFXMarkerModifier(SFXSource * source, const String & name, F32 pos, bool removeWhenDone)
Detailed Description
A modifer that calls a method on the SFXSource when a particular playback position is passed.
note:At the moment, doing a setPosition() on a source will not cause markers that have been jumped over in the operation to be ignored. Instead they will trigger on the next update.
Public Types
typedef SFXOneShotModifier Parent
Protected Attributes
String mMarkerName
Symbolic marker name that is passed to the "onMarkerPassed" callback.
Protected Functions
_onTrigger()
Reimplemented from: SFXOneShotModifier
Public Functions
SFXMarkerModifier(SFXSource * source, const String & name, F32 pos, bool removeWhenDone)