Maratis Engine
Public Member Functions

MOSound Class Reference

#include <MOSound.h>

Inheritance diagram for MOSound:
MObject3d

List of all members.

Public Member Functions

 MOSound (MSoundRef *soundRef)
virtual ~MOSound (void)
 MOSound (const MOSound &sound)
int getType (void)
void setSoundRef (MSoundRef *soundRef)
MSoundRefgetSoundRef (void)
unsigned int getSourceId (void)
void setLooping (bool loop)
void setRelative (bool relative)
void setPitch (float pitch)
void setGain (float gain)
void setRadius (float radius)
void setRolloff (float rolloff)
bool isPlaying (void)
bool isLooping (void)
bool isRelative (void)
float getPitch (void)
float getGain (void)
float getRadius (void)
float getRolloff (void)
float getTimePos (void)
float getSoundDuration (void)
void play (void)
void pause (void)
void stop (void)
void update (void)

Constructor & Destructor Documentation

MOSound::MOSound ( MSoundRef soundRef)
MOSound::~MOSound ( void  ) [virtual]
MOSound::MOSound ( const MOSound sound)

Member Function Documentation

float MOSound::getGain ( void  ) [inline]
float MOSound::getPitch ( void  ) [inline]
float MOSound::getRadius ( void  ) [inline]
float MOSound::getRolloff ( void  ) [inline]
float MOSound::getSoundDuration ( void  )
MSoundRef* MOSound::getSoundRef ( void  ) [inline]
unsigned int MOSound::getSourceId ( void  ) [inline]
float MOSound::getTimePos ( void  )
int MOSound::getType ( void  ) [inline, virtual]

Reimplemented from MObject3d.

bool MOSound::isLooping ( void  ) [inline]
bool MOSound::isPlaying ( void  )
bool MOSound::isRelative ( void  ) [inline]
void MOSound::pause ( void  )
void MOSound::play ( void  )
void MOSound::setGain ( float  gain)
void MOSound::setLooping ( bool  loop)
void MOSound::setPitch ( float  pitch)
void MOSound::setRadius ( float  radius)
void MOSound::setRelative ( bool  relative)
void MOSound::setRolloff ( float  rolloff)
void MOSound::setSoundRef ( MSoundRef soundRef)
void MOSound::stop ( void  )
void MOSound::update ( void  ) [virtual]

Reimplemented from MObject3d.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator Friends Defines