class Source


Public Methods

[more] Source()
[more] ~Source()
[more]void Set(ALuint b, Vector3D & pos, Vector3D & vel, bool l, float p, float g)
[more]inline void SetBuffer(const ALuint b)
[more]inline void SetPosition(const Vector3D &p)
[more]inline void SetVelocity(const Vector3D &v)
[more]inline void SetLoop(const bool l)
[more]inline void SetPitch(const float p)
[more]inline void SetMaxGain(const float mg)
[more]inline void SetGain(const float g)
[more]inline void SetRollOff(const float r)
[more]inline void SetRefDistance(const float rd)
[more]inline ALuint GetSource() const
[more]void Configure_AL() const
[more]inline void Play() const
this calls AL functions for configuring this source inside OpenAL
[more]inline void Pause() const
play sound

Private Fields

[more]ALuint source
pause sound
[more]ALuint buffer
[more]Vector3D Position
[more]Vector3D Velocity
[more]bool looping
[more]float pitch
[more]float gain
[more]float max_gain
[more]float rolloff
[more]float ref_distance


Documentation

o Source()

o ~Source()

ovoid Set(ALuint b, Vector3D & pos, Vector3D & vel, bool l, float p, float g)

oinline void SetBuffer(const ALuint b)

oinline void SetPosition(const Vector3D &p)

oinline void SetVelocity(const Vector3D &v)

oinline void SetLoop(const bool l)

oinline void SetPitch(const float p)

oinline void SetMaxGain(const float mg)

oinline void SetGain(const float g)

oinline void SetRollOff(const float r)

oinline void SetRefDistance(const float rd)

oinline ALuint GetSource() const

ovoid Configure_AL() const

oinline void Play() const
this calls AL functions for configuring this source inside OpenAL

oinline void Pause() const
play sound

oALuint source
pause sound

oALuint buffer

oVector3D Position

oVector3D Velocity

obool looping

ofloat pitch

ofloat gain

ofloat max_gain

ofloat rolloff

ofloat 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++.