#include <Source.h>
Public Methods | |
| Source () | |
| Create a source. | |
| float | getGain () const |
| Get the gain for this source. | |
| void | setGain (float) |
| Set the gain for this source. | |
| float | getRolloff () const |
| Get the rolloff for this source. | |
| void | setRolloff (float) |
| Set the rolloff for this source. | |
| Vector3 | getPosition () const |
| Get the position of this source. | |
| void | setPosition (Vector3) |
| Set the position of this source. | |
| Vector3 | getVelocity () const |
| Get the velocity of this source. | |
| void | setVelocity (Vector3) |
| Set the velocity of this source. | |
| void | playSound (unsigned int sname) |
| Play a sound. | |
| void | loopSound (unsigned int sname) |
| Loop a sound. | |
| void | stop () |
| Stop this source from playing it's sound. | |
Definition at line 22 of file Source.h.
|
|
Loop a sound.
Definition at line 186 of file Source.cpp. References stop(). |
|
|
Play a sound.
Definition at line 180 of file Source.cpp. References stop(). |
1.2.18