VAE - Virtual Audio Engine 1
Small Data Driven Audio Engine
|
Allows placement of a Sound in 3D. More...
#include <vae_emitter.hpp>
Public Attributes | |
Vec3 | position = { 0, 0, 0 } |
Real | spread = 0.5 |
The width of the source, 1 means all speaker will play. More... | |
Real | maxDist = 100 |
if event is valid, it will be emitted once the emitter is closer More... | |
EventHandle | event |
Will be triggerd. More... | |
BankHandle | bank |
Needed to identify event. More... | |
bool | autoplaying: 1 |
whether the event was already triggered More... | |
Allows placement of a Sound in 3D.
Also can trigger a event if a listener is closer than maxDist.
Definition at line 10 of file vae_emitter.hpp.
bool vae::core::Emitter::autoplaying |
whether the event was already triggered
Definition at line 16 of file vae_emitter.hpp.
BankHandle vae::core::Emitter::bank |
Needed to identify event.
Definition at line 15 of file vae_emitter.hpp.
EventHandle vae::core::Emitter::event |
Will be triggerd.
Definition at line 14 of file vae_emitter.hpp.
Real vae::core::Emitter::maxDist = 100 |
if event is valid, it will be emitted once the emitter is closer
Definition at line 13 of file vae_emitter.hpp.
Vec3 vae::core::Emitter::position = { 0, 0, 0 } |
Definition at line 11 of file vae_emitter.hpp.
Real vae::core::Emitter::spread = 0.5 |
The width of the source, 1 means all speaker will play.
Definition at line 12 of file vae_emitter.hpp.