cAudio
2.3.0
3d Audio Engine
|
33 #if CAUDIO_EFX_ENABLED == 1
34 virtual void setMetersPerUnit(
const float& meters);
35 virtual float getMetersPerUnit(
void)
const;
virtual void setVelocity(const cVector3 &vel)
Sets the current velocity of the listener for doppler effects.
virtual void setDirection(const cVector3 &dir)
Sets the direction the listener is facing.
virtual void move(const cVector3 &pos)
Convenience function to automatically set the velocity and position for you in a single call.
virtual void setPosition(const cVector3 &pos)
Sets the position of the listener.
virtual cVector3 getDirection(void) const
Returns the current direction of the listener.
Class for manipulating vectors in 3D space.
virtual cVector3 getPosition(void) const
Returns the current position of the listener.
Main namespace for the entire cAudio library.
virtual void setUpVector(const cVector3 &up)
Sets the up vector to use for the listener.
virtual void setMasterVolume(const float &volume)
Sets the global volume modifier (will effect all sources)
virtual float getMasterVolume(void) const
Returns the global volume modifier for all sources.
virtual cVector3 getVelocity(void) const
Returns the current velocity of the listener.
Interface for the listener in cAudio. This class provides abilities to move and orient where your cam...
virtual cVector3 getUpVector(void) const
Returns the current up vector of the listener.