1 #ifndef AUDIO_SOURCE_COMPONENT 2 #define AUDIO_SOURCE_COMPONENT 16 bool Is3D()
const {
return is3D; }
22 void Set3D(
bool enable ) { is3D = enable; }
34 static int Type() {
return 3; }
37 static unsigned New();
Definition: AudioClip.hpp:4
void Play() const
Plays the clip.
std::string GetSerialized() const
class GameObject * GetGameObject() const
Definition: AudioSourceComponent.hpp:13
void Set3D(bool enable)
Definition: AudioSourceComponent.hpp:22
GameObject is composed of components that define its behavior.
Definition: GameObject.hpp:9
Contains an audio clip and methods to play it.
Definition: AudioSourceComponent.hpp:9
void SetClipId(unsigned audioClipId)
bool Is3D() const
Definition: AudioSourceComponent.hpp:16