SFXModifier

Engine/source/sfx/sfxModifier.h

An SFXModifier modifies the properties of an SFXSource while its playback is running.

More...

Protected Attributes

bool

If true, the effect is removed from the effects stack.

The source that this effect works on.

Public Functions

SFXModifier(SFXSource * source, bool removeWhenDone)

Create an effect that operates on "source".

Detailed Description

An SFXModifier modifies the properties of an SFXSource while its playback is running.

Protected Attributes

bool mRemoveWhenDone 

If true, the effect is removed from the effects stack.

SFXSource * mSource 

The source that this effect works on.

Public Functions

SFXModifier(SFXSource * source, bool removeWhenDone)

Create an effect that operates on "source".

~SFXModifier()