VR-Engage  2.2
Loading...
Searching...
No Matches
makVre::DtAudioUpdater::Sound Struct Reference

#include <audioUpdater.h>

Public Member Functions

 Sound ()
 

Public Attributes

std::string myStateVar
 
makAudio::DtSound * mySource
 
bool myTriggered
 

Constructor & Destructor Documentation

◆ Sound()

makVre::DtAudioUpdater::Sound::Sound ( )
inline

Default constructor initializing member variables.

References mySource, myStateVar, and myTriggered.

Member Data Documentation

◆ myStateVar

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().

◆ mySource

makAudio::DtSound* makVre::DtAudioUpdater::Sound::mySource

Pointer to the audio source for this sound.

Referenced by Sound().

◆ myTriggered

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().


The documentation for this struct was generated from the following file: