Version
This component represents a sound object in your scene tracking its position and other game syncs such as Switches, RTPC and environment values. You can add this to any object that will emit sound, and it will be added to any object that an AkAudioListener is attached to. Note that if it is not present, Wwise will add it automatically, with the default values, to any Unity Game Object that is passed to Wwise. More...
Public Member Functions | |
bool | AddListener (AkAudioListener listener) |
Adds an AkAudioListener to the container of listeners listening to this gameobject. |
|
bool | RemoveListener (AkAudioListener listener) |
Removes an AkAudioListener from the container of listeners listening to this gameobject. |
|
virtual Vector3 | GetPosition () |
virtual Vector3 | GetForward () |
virtual Vector3 | GetUpward () |
Public Attributes | |
AkGameObjPositionOffsetData | m_positionOffsetData = null |
When not set to null, the position will be offset relative to the Game Object position by the Position Offset. |
|
bool | isEnvironmentAware = true |
Is this object affected by Environment changes? Set to false if not affected in order to save some useless calls. Default is true. |
This component represents a sound object in your scene tracking its position and other game syncs such as Switches, RTPC and environment values. You can add this to any object that will emit sound, and it will be added to any object that an AkAudioListener is attached to. Note that if it is not present, Wwise will add it automatically, with the default values, to any Unity Game Object that is passed to Wwise.
Questions? Problems? Need more info? Contact us, and we can help!
Visit our Support pageRegister your project and we'll help you get started with no strings attached!
Get started with Wwise