|
VR-Engage
2.3
|
#include <audioUpdater.h>
Public Member Functions | |
| Sound () | |
Public Attributes | |
| std::string | myStateVar |
| makAudio::DtSound * | mySource |
| bool | myTriggered |
| DtAttributeHandleType< bool > | myStateAttributeHandle |
|
inline |
Default constructor initializing member variables.
References mySource, myStateVar, and myTriggered.
| std::string makVre::DtAudioUpdater::Sound::myStateVar |
Name of the state attribute that controls this sound.
When this attribute is true, the sound will play. If empty, the sound is always enabled.
Referenced by Sound().
| makAudio::DtSound* makVre::DtAudioUpdater::Sound::mySource |
Pointer to the audio source for this sound.
Referenced by Sound().
| bool makVre::DtAudioUpdater::Sound::myTriggered |
Flag to track if a non-looping sound has been triggered.
Used to prevent repeatedly triggering non-looping sounds that are still playing.
Referenced by Sound().
| DtAttributeHandleType<bool> makVre::DtAudioUpdater::Sound::myStateAttributeHandle |
Attribute handle tracking whether this sound's trigger state attribute is set.
The attribute name is configurable per sound entry in the role configuration.
| Attribute Store Key | <configurable-sound-state-attribute> |
|---|