Classes

Audio/Components

Brief descriptions

Detailed information

AudioComponentEmitter

engine/core/modules/audio/include/nau/audio/audio_component_emitter.hpp

struct AudioComponentEmitter : public scene::SceneComponent, public scene::IComponentUpdate, public scene::IComponentActivation

Public Functions

Audio Audio Emitter (description)")) ( (path)
Audio Audio playOnStart void updateComponent (float dt) override

Advances all managed audio sources playbacks.

Parameters:

dt[in] Time in seconds elapsed since the last update.

void activateComponent() override
void deactivateComponent() override

Public Members

true
Audio Emitter
Audio Audio loop
eastl::string path = ""
AudioAssetContainerPtr container = nullptr
AudioSourcePtr source = nullptr
bool loop = false
bool playOnStart = false

Private Types

enum State

Values:

enumerator Unloaded
enumerator Playing

Private Members

enum AudioComponentEmitter::State state

AudioComponentListener

engine/core/modules/audio/include/nau/audio/audio_component_listener.hpp

struct AudioComponentListener : public scene::SceneComponent

Public Members

true
Audio Listener