Class Engine::Music¶
Engine wrapper for audio streaming (long tracks). Cannot be cloned.
#include <Music.hpp>
Public Functions¶
| Type | Name |
|---|---|
| float | GetVolume () const |
| bool | IsLooping () const |
| bool | IsPlaying () const |
| Music () = default |
|
| Music (const std::string & path, bool isLoop=false) |
|
| Music (const char * fileType, const unsigned char * data, const int dataSize, const bool isLoop=false) |
|
| Music (const Music &) = delete |
|
| Music (Music && other) = default |
|
| void | Play () |
| void | SetLooping (bool value) |
| void | SetVolume (const float volume) |
| void | Stop () |
| void | Update () |
| Music & | operator= (const Music &) = delete |
| Music & | operator= (Music && other) = default |
Public Functions Documentation¶
function GetVolume¶
function IsLooping¶
function IsPlaying¶
function Music [⅕]¶
function Music [⅖]¶
function Music [⅗]¶
inline Engine::Music::Music (
const char * fileType,
const unsigned char * data,
const int dataSize,
const bool isLoop=false
)
function Music [⅘]¶
function Music [5/5]¶
function Play¶
function SetLooping¶
function SetVolume¶
function Stop¶
function Update¶
function operator=¶
function operator=¶
The documentation for this class was generated from the following file /home/runner/work/r-type/r-type/Engine/include/Assets/Music.hpp