|
CeresEngine 0.2.0
A game development framework
|
An entity action that can be dispatched to a AudioSource to start playing a new audio buffer.
More...
#include <CeresEngine/Audio/AudioSource.hpp>
Public Member Functions | |
| Play (AudioAPIBufferPtr buffer) | |
Creates a new Play action. | |
Public Attributes | |
| AudioAPIBufferPtr | buffer |
| The buffer to be played by the audio source. | |
Additional Inherited Members | |
Public Types inherited from CeresEngine::EntityAction< Play > | |
| using | ReturnType = void |
| The type that must be returned by action handlers. | |
Static Public Attributes inherited from CeresEngine::EntityAction< Play > | |
| static const EntityActionID | actionID |
| This action type ID. | |
An entity action that can be dispatched to a AudioSource to start playing a new audio buffer.
|
inlineexplicit |
Creates a new Play action.
| buffer | The buffer to be played. |
| AudioAPIBufferPtr CeresEngine::Play::buffer |
The buffer to be played by the audio source.