Kigs Framework  Doc version 0.8
Open source multi purpose Rapid Application Development framework
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
AudioListener Class Referenceabstract

#include <AudioListener.h>

Inheritance diagram for AudioListener:
AndroidAudioListener

Public Member Functions

 AudioListener (const kstl::string &name, DECLARE_CLASS_NAME_TREE_ARG)
 Kigs constructor.
 
bool ListenerIsActive ()
 
void TransformSource (Point3D &pos, Vector3D &vel)
 transform the specified position and velocity vector into local coordinates
 
void InitModifiable () override
 

Protected Member Functions

virtual ~AudioListener ()
 destructor
 
virtual void Activate ()=0
 activation method
 
virtual void Desactivate ()=0
 desactivation method
 

Protected Attributes

maString myCameraName
 name of the camera
 
maFloat myGain
 sound gain
 
bool myIsActive
 active state
 

Friends

class AudioListenerActivator
 

Detailed Description

the audio listener holds parameters for computing heard sounds from audio sources

Member Function Documentation

◆ InitModifiable()

void AudioListener::InitModifiable ( )
override

the father node was found

a Node3D should only have one Node3D father so we can break here

add renderer matrix to this

◆ ListenerIsActive()

bool AudioListener::ListenerIsActive ( )
inline
Returns
true if the current listener is active

The documentation for this class was generated from the following files: