version 3.3

VRS::SOUND::DopplerEffectAL Class Reference

#include <vrs/openal/dopplereffectal.h>

Inheritance diagram for VRS::SOUND::DopplerEffectAL:

VRS::MonoAttribute VRS::Attribute VRS::RenderObj VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 DopplerEffectAL (float dopplerFactor, float speedOfSound=343.3f, bool enabled=true)
void setDopplerFactor (float dopplerFactor)
float getDopplerFactor (void) const
void setSpeedOfSound (float speedOfSound)
float getSpeedOfSound (void) const
 VRS_TYPEINFO (DopplerEffectAL, MonoAttribute)
 VRS_SERIALIZABLE (DopplerEffectAL)

Protected Member Functions

 DopplerEffectAL (void)


Constructor & Destructor Documentation

VRS::SOUND::DopplerEffectAL::DopplerEffectAL ( float  dopplerFactor,
float  speedOfSound = 343.3f,
bool  enabled = true 
)

The velocity of an object is taken into account by the driver to synthesize the Doppler effect perceived by the listener for each source, based on the velocity of both source and listener, and the Doppler related parameters.

VRS::SOUND::DopplerEffectAL::DopplerEffectAL ( void   )  [protected]


Member Function Documentation

void VRS::SOUND::DopplerEffectAL::setDopplerFactor ( float  dopplerFactor  ) 

Set/get the exaggeration factor for Doppler effect.

float VRS::SOUND::DopplerEffectAL::getDopplerFactor ( void   )  const [inline]

void VRS::SOUND::DopplerEffectAL::setSpeedOfSound ( float  speedOfSound  ) 

Set/get the Speed of sound in same units as velocities.

float VRS::SOUND::DopplerEffectAL::getSpeedOfSound ( void   )  const [inline]

VRS::SOUND::DopplerEffectAL::VRS_TYPEINFO ( DopplerEffectAL  ,
MonoAttribute   
)

VRS::SOUND::DopplerEffectAL::VRS_SERIALIZABLE ( DopplerEffectAL   ) 


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

Generated on Tue May 22 06:00:36 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact