#include <soundactorproxy.h>

Public Member Functions | |
| SoundActorProxy () | |
| Constructor. | |
| virtual void | BuildPropertyMap () |
| Adds the properties that are common to all Delta3D physical objects. | |
| void | LoadFile (const std::string &fileName) |
| Loads in a sound file. | |
| void | SetDirection (const osg::Vec3 &dir) |
| Sets the direction. | |
| osg::Vec3 | GetDirection () |
| Gets the direction. | |
| void | SetVelocity (const osg::Vec3 &vel) |
| Sets the velocity. | |
| osg::Vec3 | GetVelocity () |
| Gets the velocity. | |
| void | Play () |
| Plays the sound. | |
| virtual const ActorProxy::RenderMode & | GetRenderMode () |
| Gets the render mode of sound actor proxies. | |
| virtual dtDAL::ActorProxyIcon * | GetBillBoardIcon () |
| Gets the billboard icon associated with sound actor proxies. | |
| void | BuildInvokables () |
| Builds the invokables of this actor. | |
| void | HandleActorTimers (const dtGame::Message &msg) |
| void | OnEnteredWorld () |
| Called when an actor is first placed in the "world". | |
| bool | IsARandomSoundEffect () const |
| void | SetToHaveRandomSoundEffect (bool value) |
| void | SetMinRandomTime (int value) |
| int | GetMinRandomTime () const |
| void | SetMaxRandomTime (int value) |
| int | GetMaxRandomTime () const |
| int | GetOffsetTime () const |
| void | SetOffsetTime (int value) |
Protected Member Functions | |
| virtual void | CreateActor () |
| Creates a new positional sound. | |
| virtual | ~SoundActorProxy () |
| Destructor. | |
| dtActors::SoundActorProxy::SoundActorProxy | ( | ) |
Constructor.
dtAudio::AudioManager::Instantiate(); dtAudio::AudioManager::GetManager()->Config(AudioConfigData&)
| dtActors::SoundActorProxy::~SoundActorProxy | ( | ) | [protected, virtual] |
Destructor.
| void dtActors::SoundActorProxy::BuildPropertyMap | ( | ) | [virtual] |
Adds the properties that are common to all Delta3D physical objects.
Reimplemented from dtGame::GameActorProxy.
| void dtActors::SoundActorProxy::LoadFile | ( | const std::string & | fileName | ) |
Loads in a sound file.
| fileName | The file to load |
| void dtActors::SoundActorProxy::SetDirection | ( | const osg::Vec3 & | dir | ) |
Sets the direction.
| dir | The direction to Set |
| osg::Vec3 dtActors::SoundActorProxy::GetDirection | ( | ) |
Gets the direction.
| void dtActors::SoundActorProxy::SetVelocity | ( | const osg::Vec3 & | vel | ) |
Sets the velocity.
| vel | The velocity to Set |
| osg::Vec3 dtActors::SoundActorProxy::GetVelocity | ( | ) |
Gets the velocity.
| void dtActors::SoundActorProxy::Play | ( | ) |
Plays the sound.
| virtual const ActorProxy::RenderMode& dtActors::SoundActorProxy::GetRenderMode | ( | ) | [inline, virtual] |
Gets the render mode of sound actor proxies.
Reimplemented from dtDAL::ActorProxy.
| dtDAL::ActorProxyIcon * dtActors::SoundActorProxy::GetBillBoardIcon | ( | ) | [virtual] |
Gets the billboard icon associated with sound actor proxies.
Reimplemented from dtDAL::ActorProxy.
| void dtActors::SoundActorProxy::BuildInvokables | ( | ) | [virtual] |
| void dtActors::SoundActorProxy::HandleActorTimers | ( | const dtGame::Message & | msg | ) |
| void dtActors::SoundActorProxy::OnEnteredWorld | ( | ) | [virtual] |
| bool dtActors::SoundActorProxy::IsARandomSoundEffect | ( | ) | const [inline] |
| void dtActors::SoundActorProxy::SetToHaveRandomSoundEffect | ( | bool | value | ) | [inline] |
| void dtActors::SoundActorProxy::SetMinRandomTime | ( | int | value | ) | [inline] |
| int dtActors::SoundActorProxy::GetMinRandomTime | ( | ) | const [inline] |
| void dtActors::SoundActorProxy::SetMaxRandomTime | ( | int | value | ) | [inline] |
| int dtActors::SoundActorProxy::GetMaxRandomTime | ( | ) | const [inline] |
| int dtActors::SoundActorProxy::GetOffsetTime | ( | ) | const [inline] |
| void dtActors::SoundActorProxy::SetOffsetTime | ( | int | value | ) | [inline] |
| void dtActors::SoundActorProxy::CreateActor | ( | ) | [protected, virtual] |