Struct Engine::AudioSource¶
ClassList > Engine > AudioSource
A pure ECS data component for triggering audio playback, when data is modified the audio will read to use using the Audio system.
#include <AudioSource.hpp>
Public Attributes¶
| Type | Name |
|---|---|
| std::string | assetId |
| bool | isMusic = false |
| bool | isPlaying = false |
| bool | loop = false |
| bool | shouldPlay = false |
| bool | shouldStop = false |
| float | volume = 1.0f |
Public Attributes Documentation¶
variable assetId¶
variable isMusic¶
variable isPlaying¶
variable loop¶
variable shouldPlay¶
variable shouldStop¶
variable volume¶
The documentation for this class was generated from the following file /home/runner/work/r-type/r-type/Engine/include/Components/AudioSource.hpp