|
Monad Engine da02fba2
> Undercity Codex_
|
GameObject component that plays audio clips by name. More...
#include "audio/Audio.h"#include "scene/Component.h"
Include dependency graph for AudioComponent.h:Go to the source code of this file.
Classes | |
| class | mnd::AudioComponent |
| Plays one or more named audio clips, attached to a GameObject. More... | |
Namespaces | |
| namespace | mnd |
GameObject component that plays audio clips by name.
Attach to any mnd::GameObject to give it a small library of named mnd::Audio clips. Each frame the component pushes the GameObject's world position to every clip so 3D spatialisation works without extra plumbing.
Definition in file AudioComponent.h.