Public Methods
-
Source()
-
~Source()
-
void Set(ALuint b, Vector3D & pos, Vector3D & vel, bool l, float p, float g)
-
inline void SetBuffer(const ALuint b)
-
inline void SetPosition(const Vector3D &p)
-
inline void SetVelocity(const Vector3D &v)
-
inline void SetLoop(const bool l)
-
inline void SetPitch(const float p)
-
inline void SetMaxGain(const float mg)
-
inline void SetGain(const float g)
-
inline void SetRollOff(const float r)
-
inline void SetRefDistance(const float rd)
-
inline ALuint GetSource() const
-
void Configure_AL() const
-
inline void Play() const
- this calls AL functions for configuring this source inside OpenAL
-
inline void Pause() const
- play sound
Private Fields
-
ALuint source
- pause sound
-
ALuint buffer
-
Vector3D Position
-
Vector3D Velocity
-
bool looping
-
float pitch
-
float gain
-
float max_gain
-
float rolloff
-
float ref_distance
Documentation
- Source()
- ~Source()
- void Set(ALuint b, Vector3D & pos, Vector3D & vel, bool l, float p, float g)
- inline void SetBuffer(const ALuint b)
- inline void SetPosition(const Vector3D &p)
- inline void SetVelocity(const Vector3D &v)
- inline void SetLoop(const bool l)
- inline void SetPitch(const float p)
- inline void SetMaxGain(const float mg)
- inline void SetGain(const float g)
- inline void SetRollOff(const float r)
- inline void SetRefDistance(const float rd)
- inline ALuint GetSource() const
- void Configure_AL() const
- inline void Play() const
- this calls AL functions for configuring this source inside OpenAL
- inline void Pause() const
- play sound
- ALuint source
- pause sound
- ALuint buffer
- Vector3D Position
- Vector3D Velocity
- bool looping
- float pitch
- float gain
- float max_gain
- float rolloff
- float ref_distance
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.