#include <IAudio.h>
Public Methods | |
Sound3DProp () | |
void | Clear () |
Public Attributes | |
AUDIOVECTOR | m_vPosition |
Represents the sound's current position. | |
AUDIOVECTOR | m_vVelocity |
Represents the sound's current velocity. | |
AUDIOVECTOR | m_vConeOrientation |
Represents the sound's current orientation. | |
uint32 | m_nInsideConeAngle |
Represents the inside angle of the sound cone in degrees. More... | |
uint32 | m_nOutsideConeAngle |
Represents the outside angle of the sound cone in degrees. More... | |
float | m_fConeOutsideVolume |
Volume outside the outer cone angle from AUD_VOLUME_MIN to AUD_VOLUME_MAX. | |
float | m_fMinDistance |
Minimum distance at which a sound begins to attenuate with distance. | |
float | m_fMaxDistance |
Maximum range at which a sound can be heard. | |
uint32 | m_nMode |
Specifies the processing mode for this 3D sound. More... | |
float | m_fVolume |
Set the volume from VOLUME_MIN (0.0) to VOLUME_MAX (1.0). | |
float | m_fPitch |
Sets the target pitch. | |
uint32 | m_nReadCursor |
Sets the position of the read cursor. |
This class represents all 3D parameters commonly modified at run-time. They are presented in a common structure to allow the game (or the engine) to retrieve and/or modify all 3D parameters of a sound with a single function call.
|
Sound3DProp constructor automatically calls Clear() to initialize the structure. |
|
Sets all members either to an appropriate default value if it exists, or else to zero. |
|
Represents the inside angle of the sound cone in degrees. This value is only valid from 0 to 360. |
|
Specifies the processing mode for this 3D sound.
|
|
Represents the outside angle of the sound cone in degrees. This value is only valid from 0 to 360. |