#include <D:/Projekte/i6engine/libs/i6engine-modules/include/i6engine/api/facades/AudioFacade.h>
|
| AudioFacade () |
|
| ~AudioFacade () |
|
void | createNode (int64_t comId, const std::string &f, bool l, double m, const Vec3 &p, const Vec3 &d, bool cacheable, const std::string &category) |
| creates a new audio node More...
|
|
void | deleteNode (int64_t comId) |
| deletes an audio node More...
|
|
void | updateListener (const Vec3 &position, const Quaternion &rotation, const Vec3 &velocity) |
| updates audio listener More...
|
|
void | updatePosition (int64_t comId, const Vec3 &position) |
| updates audio position More...
|
|
audio::SoundHandle | playSound (const std::string &f, double m, const Vec3 &p, const Vec3 &d, bool cacheable, const std::string &category) |
| plays given sound once More...
|
|
audio::SoundHandle | playSoundWithCallback (const std::string &f, double m, const Vec3 &p, const Vec3 &d, bool cacheable, const std::string &category, const std::function< void(bool)> callback) |
| plays given sound if found and calls callback afterwards More...
|
|
void | stopSound (audio::SoundHandle handle) |
| stops sound with this handle ID More...
|
|
void | resetSubSystem () |
| resets the subsystem to it's defaults More...
|
|
Definition at line 40 of file AudioFacade.h.
i6e::api::AudioFacade::AudioFacade |
( |
| ) |
|
i6e::api::AudioFacade::~AudioFacade |
( |
| ) |
|
void i6e::api::AudioFacade::createNode |
( |
int64_t |
comId, |
|
|
const std::string & |
f, |
|
|
bool |
l, |
|
|
double |
m, |
|
|
const Vec3 & |
p, |
|
|
const Vec3 & |
d, |
|
|
bool |
cacheable, |
|
|
const std::string & |
category |
|
) |
| |
void i6e::api::AudioFacade::deleteNode |
( |
int64_t |
comId | ) |
|
audio::SoundHandle i6e::api::AudioFacade::playSound |
( |
const std::string & |
f, |
|
|
double |
m, |
|
|
const Vec3 & |
p, |
|
|
const Vec3 & |
d, |
|
|
bool |
cacheable, |
|
|
const std::string & |
category |
|
) |
| |
audio::SoundHandle i6e::api::AudioFacade::playSoundWithCallback |
( |
const std::string & |
f, |
|
|
double |
m, |
|
|
const Vec3 & |
p, |
|
|
const Vec3 & |
d, |
|
|
bool |
cacheable, |
|
|
const std::string & |
category, |
|
|
const std::function< void(bool)> |
callback |
|
) |
| |
plays given sound if found and calls callback afterwards
void i6e::api::AudioFacade::resetSubSystem |
( |
| ) |
|
resets the subsystem to it's defaults
stops sound with this handle ID
void i6e::api::AudioFacade::updateListener |
( |
const Vec3 & |
position, |
|
|
const Quaternion & |
rotation, |
|
|
const Vec3 & |
velocity |
|
) |
| |
void i6e::api::AudioFacade::updatePosition |
( |
int64_t |
comId, |
|
|
const Vec3 & |
position |
|
) |
| |
The documentation for this class was generated from the following file: