SFXRangeModifier
Engine/source/sfx/sfxModifier.h
An SFXModifier that is spans a certain range of playback time.
Public Types
Parent
Protected Attributes
bool
If true, the effect is currently being applied to the source.
Playback position in milliseconds when this effect becomes active.
Protected Functions
Public Functions
Detailed Description
An SFXModifier that is spans a certain range of playback time.
Public Types
typedef SFXModifier Parent
Protected Attributes
F32 mEndTime
Playback position in milliseconds when this effect becomes inactive.
bool mIsActive
If true, the effect is currently being applied to the source.
F32 mStartTime
Playback position in milliseconds when this effect becomes active.
Protected Functions
_onEnd()
Called when the play cursor passes mEndTime.
note:There may be latency between the cursor actually passing mEndTime and this method being called.
Reimplemented by: SFXFadeModifier
_onStart()
Called when the play cursor passes mStartTime.
note:There may be latency between the cursor actually passing mStartTime and this method being called.
Reimplemented by: SFXFadeModifier
_onUpdate()
Called on each update() while the play cursor is in range.
Reimplemented by: SFXFadeModifier