Contains an audio clip and methods to play it.
More...
#include <AudioSourceComponent.hpp>
Contains an audio clip and methods to play it.
- See also
- AudioClip
class GameObject* ae3d::AudioSourceComponent::GetGameObject |
( |
| ) |
const |
|
inline |
std::string ae3d::AudioSourceComponent::GetSerialized |
( |
| ) |
const |
- Returns
- Textual representation of component.
bool ae3d::AudioSourceComponent::Is3D |
( |
| ) |
const |
|
inline |
- Returns
- True, if clips played through this source will be affected by this game object's and camera's position.
void ae3d::AudioSourceComponent::Set3D |
( |
bool |
enable | ) |
|
|
inline |
- Parameters
-
enable | True, if clips played through this source will be affected by this GameObject's and camera's position. |
void ae3d::AudioSourceComponent::SetClipId |
( |
unsigned |
audioClipId | ) |
|
- Parameters
-
audioClipId | Audio clip id. |
The documentation for this class was generated from the following file: