SFXTrack
A datablock that describes sound data for playback.
Protected Attributes
The description which controls playback settings.
mParameters [MaxNumParameters]
Name of the parameters to which sources playing this track should connect.
Protected Functions
bool
processArguments(S32 argc, ConsoleValueRef * argv)
Overload this to disable direct instantiation of this class via script 'new'.
Public Functions
SFXTrack()
SFXTrack(SFXDescription * description)
DECLARE_CATEGORY("SFX" )
DECLARE_DESCRIPTION("Abstract base class <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1a2732ab74fa0237854c2ba0f75f88a624">for</a> any kind of data that can be turned into SFXSources." )
Returns the description object for this sound profile.
getParameter(U32 index)
Called after any property of the object is changed in the world editor.
bool
onAdd()
Called when the object is added to the sim.
bool
setParameter(U32 index, const char * name)
unpackData(BitStream * stream)
Public Static Functions
Detailed Description
A datablock that describes sound data for playback.
Public Types
@173
Enumerator
- MaxNumParameters = 8
Maximum numbers of parameters that can be pre-assigned to tracks.
typedef SimDataBlock Parent
Protected Attributes
SFXDescription * mDescription
The description which controls playback settings.
StringTableEntry mParameters [MaxNumParameters]
Name of the parameters to which sources playing this track should connect.
Protected Functions
processArguments(S32 argc, ConsoleValueRef * argv)
Reimplemented from: SimObject
Public Functions
SFXTrack()
SFXTrack(const SFXTrack & , bool )
SFXTrack(SFXDescription * description)
DECLARE_CATEGORY("SFX" )
DECLARE_CONOBJECT(SFXTrack )
DECLARE_DESCRIPTION("Abstract base class <a href="/coding/file/cmdscan_8cpp/#cmdscan_8cpp_1a2732ab74fa0237854c2ba0f75f88a624">for</a> any kind of data that can be turned into SFXSources." )
getDescription()
Returns the description object for this sound profile.
getParameter(U32 index)
inspectPostApply()
Reimplemented from: SimObject
Reimplemented by: SFXPlayList
onAdd()
Reimplemented from: SimDataBlock
Reimplemented by: SFXFMODEvent, SFXProfile
packData(BitStream * stream)
Reimplemented from: SimDataBlock
Reimplemented by: SFXFMODEvent, SFXPlayList, SFXProfile
preload(bool server, String & errorStr)
Reimplemented from: SimDataBlock
Reimplemented by: SFXFMODEvent, SFXPlayList, SFXProfile
setParameter(U32 index, const char * name)
unpackData(BitStream * stream)
Reimplemented from: SimDataBlock
Reimplemented by: SFXFMODEvent, SFXPlayList, SFXProfile