Kochol Game Engine  0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
kge::sfx::Sound3D::SoundSource Class Reference

Sound Source class interface. More...

#include <3DSound.h>

Public Member Functions

 SoundSource ()
 Sazande.
 ~SoundSource ()
 Mokhareb.
void SetPosition (math::Vector pos)
math::Vector GetPosition ()
void SetVelocity (math::Vector velocity)
math::Vector GetVelocity ()
void SetVolume (float value, SourceVolumeFactor factor=SVF_GAIN)
float GetVolume (SourceVolumeFactor factor=SVF_GAIN)
void SetPitch (float value)
float GetPitch ()
float GetDistanceFactor (SourceDistanceFactor factor)
void SetDistanceFactor (SourceDistanceFactor factor, float value)
bool GetLoop ()
void SetLoop (bool looping)
SourceStates GetState ()
void AttachBuffer (ALuint buffer)
void AttachFromFile (char *filename)
void RemoveBuffer (int i)
SourceType GetType ()
void Play ()
void Pause ()
void Stop ()

Private Attributes

ALuint Source

Detailed Description

Sound Source class interface.

Definition at line 22 of file 3DSound.h.

Constructor & Destructor Documentation

kge::sfx::Sound3D::SoundSource::SoundSource ( )

Sazande.

kge::sfx::Sound3D::SoundSource::~SoundSource ( )

Mokhareb.

Member Function Documentation

void kge::sfx::Sound3D::SoundSource::AttachBuffer ( ALuint  buffer)
void kge::sfx::Sound3D::SoundSource::AttachFromFile ( char *  filename)
float kge::sfx::Sound3D::SoundSource::GetDistanceFactor ( SourceDistanceFactor  factor)
bool kge::sfx::Sound3D::SoundSource::GetLoop ( )
float kge::sfx::Sound3D::SoundSource::GetPitch ( )
math::Vector kge::sfx::Sound3D::SoundSource::GetPosition ( )
SourceStates kge::sfx::Sound3D::SoundSource::GetState ( )
SourceType kge::sfx::Sound3D::SoundSource::GetType ( )
math::Vector kge::sfx::Sound3D::SoundSource::GetVelocity ( )
float kge::sfx::Sound3D::SoundSource::GetVolume ( SourceVolumeFactor  factor = SVF_GAIN)
void kge::sfx::Sound3D::SoundSource::Pause ( )
void kge::sfx::Sound3D::SoundSource::Play ( )
void kge::sfx::Sound3D::SoundSource::RemoveBuffer ( int  i)
void kge::sfx::Sound3D::SoundSource::SetDistanceFactor ( SourceDistanceFactor  factor,
float  value 
)
void kge::sfx::Sound3D::SoundSource::SetLoop ( bool  looping)
void kge::sfx::Sound3D::SoundSource::SetPitch ( float  value)
void kge::sfx::Sound3D::SoundSource::SetPosition ( math::Vector  pos)
void kge::sfx::Sound3D::SoundSource::SetVelocity ( math::Vector  velocity)
void kge::sfx::Sound3D::SoundSource::SetVolume ( float  value,
SourceVolumeFactor  factor = SVF_GAIN 
)
void kge::sfx::Sound3D::SoundSource::Stop ( )

Member Data Documentation

ALuint kge::sfx::Sound3D::SoundSource::Source
private

Definition at line 25 of file 3DSound.h.


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