SFXSource Class Reference#include <sfxSource.h>
Inheritance diagram for SFXSource: ![]() Detailed DescriptionA source is a scriptable controller for all aspects of sound playback.
Member Typedef Documentation
Reimplemented from SimObject.
Constructor & Destructor Documentation
Internal constructor used for sources.
The default constructor is *only* here to satisfy the construction needs of IMPLEMENT_CONOBJECT. It does not create a valid source!
Member Function Documentation
Used by SFXSystem to create sources.
This is called only from the device to allow the source to update it's attenuated volume.
Called by the device so that the source can update itself and any attached buffer.
Used internally for setting the sound status.
This is called from SFXSystem for setting the volume scalar generated from the master and channel volumes.
Release the voice if the source has one.
This is normally called from the system to detect if this source has been assigned a voice for playback.
Starts the sound from the current playback position.
Stops playback and resets the playback position.
Pauses the sound playback.
Sets the position and orientation for a 3d buffer.
Sets the minimum and maximum distances for 3d falloff.
Set sound cone of a 3D sound.
Sets the source volume which will still be scaled by the master and channel volumes.
Returns the last set velocity.
Returns the last set transform.
Returns the source volume.
Returns the volume with respect to the master and channel volumes and the listener.
Returns the source pitch scale.
Returns the last known status without checking the voice or doing the virtual calculation.
Returns the sound status.
Returns true if the source is playing.
Returns true if the source is stopped.
Returns true if the source has been paused.
Returns true if this is a 3D source.
Returns true if this is a looping source.
Returns the volume channel this source is assigned to.
Returns the last distance to the listener.
Friends And Related Function Documentation
Member Data Documentation
The last updated playback status of the source.
The time that playback started.
The playback time when we paused or zero.
The profile used to create this source.
The device specific voice which is used during playback. By making it a SafePtr it will NULL automatically when the device is deleted.
This is the volume of a source with respect to the last listener position. It is used for culling sounds.
The distance of this source to the last listener position.
The desired sound volume.
This.
The sound pitch scalar.
The transform if this is a 3d source.
The last set velocity.
In radians.
In radians.
|