#include <Sound.h>
Definition at line 39 of file Sound.h.
◆ RecomputeSource
| Enumerator |
|---|
| REASON_PLAY | |
| REASON_STOP | |
| REASON_GAIN | |
| REASON_LOOP | |
| REASON_PTCH | |
| REASON_POSN | |
| REASON_VLCT | |
Definition at line 68 of file Sound.h.
◆ Sound()
| Sound::Sound |
( |
ALuint |
buffer, |
|
|
SoundManager * |
soundManager, |
|
|
int |
sourceIndex |
|
) |
| |
◆ ~Sound()
| virtual RoR::Sound::~Sound |
( |
| ) |
|
|
inlineoverridevirtual |
◆ computeAudibility()
| void Sound::computeAudibility |
( |
Ogre::Vector3 |
pos | ) |
|
|
private |
◆ getAudibility()
| float RoR::Sound::getAudibility |
( |
| ) |
|
|
inline |
◆ getBuffer()
| ALuint RoR::Sound::getBuffer |
( |
| ) |
|
|
inline |
◆ getCurrentHardwareIndex()
| int RoR::Sound::getCurrentHardwareIndex |
( |
| ) |
|
|
inline |
◆ getEnabled()
| bool Sound::getEnabled |
( |
| ) |
|
◆ getGain()
| float RoR::Sound::getGain |
( |
| ) |
|
|
inline |
◆ getLoop()
| bool RoR::Sound::getLoop |
( |
| ) |
|
|
inline |
◆ getPitch()
| float RoR::Sound::getPitch |
( |
| ) |
|
|
inline |
◆ getPosition()
| Ogre::Vector3 RoR::Sound::getPosition |
( |
| ) |
|
|
inline |
◆ getSourceIndex()
| int RoR::Sound::getSourceIndex |
( |
| ) |
|
|
inline |
◆ getVelocity()
| Ogre::Vector3 RoR::Sound::getVelocity |
( |
| ) |
|
|
inline |
◆ isPlaying()
| bool Sound::isPlaying |
( |
| ) |
|
◆ play()
◆ setEnabled()
| void Sound::setEnabled |
( |
bool |
e | ) |
|
◆ setGain()
| void Sound::setGain |
( |
float |
gain | ) |
|
◆ setLoop()
| void Sound::setLoop |
( |
bool |
loop | ) |
|
◆ setPitch()
| void Sound::setPitch |
( |
float |
pitch | ) |
|
◆ setPosition()
| void Sound::setPosition |
( |
Ogre::Vector3 |
pos | ) |
|
◆ setVelocity()
| void Sound::setVelocity |
( |
Ogre::Vector3 |
vel | ) |
|
◆ stop()
◆ SoundManager
◆ audibility
| float RoR::Sound::audibility |
|
private |
◆ buffer
| ALuint RoR::Sound::buffer |
|
private |
◆ enabled
◆ gain
◆ hardware_index
| int RoR::Sound::hardware_index |
|
private |
◆ loop
◆ pitch
◆ position
| Ogre::Vector3 RoR::Sound::position |
|
private |
◆ should_play
| bool RoR::Sound::should_play |
|
private |
◆ sound_manager
◆ source_index
| int RoR::Sound::source_index |
|
private |
◆ velocity
| Ogre::Vector3 RoR::Sound::velocity |
|
private |
The documentation for this class was generated from the following files: