C3DWavPlayer Class Reference

The class that holds wav data and plays it when instructed. It is heard from the global sound module listener. More...

#include <SoundModule.h>

Inheritance diagram for C3DWavPlayer:

CWavPlayer

List of all members.

Public Member Functions

void SetPosition (const float *pos)
void SetVelocity (const float *vel)
void SetAttenuation (float attn)
 Sets the attenuation value of this wav player.
void SetAttenuationDistance (float dist)
 Sets the attenuation distance value of this wav player.


Detailed Description

The class that holds wav data and plays it when instructed. It is heard from the global sound module listener.

The class that holds wav data and plays it when instructed. It is heard from the global sound module listener.

See also:
CSoundModule::SetListenerPosition CSoundModule::SetListenerDirection

Member Function Documentation

void C3DWavPlayer::SetPosition ( const float *  pos  ) 

Sets the position of the 3d wav player.

Parameters:
pos An array of 3 floats denoting the position.

void C3DWavPlayer::SetVelocity ( const float *  vel  ) 

Sets the velocity of the 3d wav player.

Parameters:
vel An array of 3 floats denoting the velocity. The position is not updated regularly and accordingly. This is just for sound effects.


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

Generated on Fri Jun 13 19:46:38 2008 for OPSIMUS by  doxygen 1.5.5