|
|
MOUNTAIN_API void | Added () override |
| | Called when the component is added to an Entity.
|
| |
|
MOUNTAIN_API void | Update () override |
| | Updates the component.
|
| |
|
MOUNTAIN_API void | Play () |
| |
|
MOUNTAIN_API void | Play (AudioTrack &track) |
| |
|
MOUNTAIN_API void | SetBuffer (const AudioBuffer *buffer) |
| |
|
MOUNTAIN_API float_t | GetVolume () const |
| |
|
MOUNTAIN_API void | SetVolume (float_t newVolume) |
| |
|
MOUNTAIN_API float_t | GetPitch () const |
| |
|
MOUNTAIN_API void | SetPitch (float_t newPitch) |
| |
|
MOUNTAIN_API bool_t | GetLooping () const |
| |
|
MOUNTAIN_API void | SetLooping (bool_t newLooping) |
| |
|
virtual void | Removed () |
| | Called when the component is removed from an Entity.
|
| |
|
virtual void | Render () |
| | Renders the component.
|
| |
|
virtual void | DebugRender () |
| |
|
const Entity * | GetEntity () const |
| | Get the Entity on which this Component is attached.
|
| |
|
Entity * | GetEntity () |
| | Get the Entity on which this Component is attached.
|
| |
Definition at line 12 of file audio_source.hpp.
The documentation for this class was generated from the following file: