46 double minimumVolume = 0.0;
50 double maximumVolume = 1.0;
62 double getVolume() const;
66 void setVolume(
double volume);
70 double getMinimumVolume() const;
74 void setMinimumVolume(
double minimumVolume);
78 double getMaximumVolume() const;
82 void setMaximumVolume(
double maximumVolume);
86 double getPitch() const;
90 void setPitch(
double pitch);
#define CE_EXTERN_COMPONENT(T)
Definition Component.hpp:600
#define CE_SCRIPT_EXPORT(...)
The CE_SCRIPT_EXPORT macro marks a class or method as exportable and available in scripting environme...
Definition Macros.hpp:247
A retain-release type of smart pointer.
Definition SmartPtr.hpp:132
A type-safe entity type.
Definition Entity.hpp:538
Definition Application.hpp:19
std::vector< T, ScopedAllocatorAdaptor< StdAllocator< T, RawAllocator > > > Vector
Vector is a sequence container that encapsulates dynamic size arrays.
Definition Vector.hpp:17
auto move(Vector3 position)
Moves a entity to the given position.
Definition Helpers.hpp:22
Definition AudioSource.hpp:57
A component that represents a source for emitting audio.
Definition AudioSource.hpp:32
AudioAPISourcePtr source
Definition AudioSource.hpp:35
Vector< AudioAPIBufferPtr > buffers
A vector of audio buffers being played by the source.
Definition AudioSource.hpp:38
Components serve as the base for data storage for an entity.
Definition Component.hpp:68
A class that must be inherited by concrete action types.
Definition Action.hpp:33
An entity action that can be dispatched to a AudioSource to start playing a new audio buffer.
Definition AudioSource.hpp:110
Play(AudioAPIBufferPtr buffer)
Creates a new Play action.
Definition AudioSource.hpp:116
AudioAPIBufferPtr buffer
The buffer to be played by the audio source.
Definition AudioSource.hpp:112