![]() TGE Version 1.5.2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
AmbientAudioManager Class Reference#include <ambientAudioManager.h>
Detailed DescriptionThe AmbientAudioManager manages varying the properties of audio emitters based on the player's position.It not only provides a notion of "outside"-ness and "inside"-ness to Torque's sound library, but it also varies sounds based on the powered status of interiors, and plays the PowerUp/PowerDown sounds as needed. AudioEmitters automatically add themselves to the AmbientAudioManager, see AudioEmitter::onAdd() and AudioEmitter::onRemove(). update() is called in clientProcess(), and gAmbientAudioManager stores the global reference to the AmbientAudioManager.
Constructor & Destructor Documentation
Member Function Documentation
Field Documentation
0:inside -> 1:outside
|