| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/openal/dopplereffectal.h>

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) | |
| 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] |
| 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 | ) |