SFXDescription Class Reference#include <sfxDescription.h>
Inheritance diagram for SFXDescription: ![]() Detailed DescriptionThe SFXDescription defines how a sound should be played.If mConeInsideAngle and mConeOutsideAngle are not both 360 then the sound will be directional and facing out the Y axis. A few tips: Make sure that server SFXDescription are defined with the datablock keyword, and that client SFXDescription are defined with the 'new' keyword.
Member Typedef Documentation
Reimplemented from SimDataBlock.
Constructor & Destructor Documentation
Member Function Documentation
Register dynamic fields in a subclass of ConsoleObject.
Reimplemented from SimObject.
Reimplemented from SimDataBlock.
Reimplemented from SimDataBlock.
Validates the description fixing any parameters that are out of range.
Member Data DocumentationThe 0 to 1 volume scale.
If true the sound will loop.
If true the sound data will be streamed from disk and not loaded completely into memory. NOTE: This is currently non-functional and all sounds are loaded fully into memory. If true the sound will be 3D positional.
The distance from the emitter at which the sound volume is unchanged. Beyond this distance the volume begins to falloff. This is only valid for 3D sounds. The distance from the emitter at which the sound volume becomes zero. This is only valid for 3D sounds. The angle in degrees of the inner part of the cone. It must be within 0 to 360. This is only valid for 3D sounds. The angle in degrees of the outer part of the cone. It must be greater than mConeInsideAngle and less than to 360. This is only valid for 3D sounds. The volume scalar for on/beyond the outside angle. This is only valid for 3D sounds.
|