AkGameObj Class Reference
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. |
Detailed Description
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.
- See also:
- Integration Details - Game Objects (Note: This is described in the Wwise SDK documentation.)
- Integration Details - Events (Note: This is described in the Wwise SDK documentation.)
- Integrating Listeners (Note: This is described in the Wwise SDK documentation.)
- Integration Details - Switches (Note: This is described in the Wwise SDK documentation.)
- Integration Details - States (Note: This is described in the Wwise SDK documentation.)
- Integration Details - Environments and Game-defined Auxiliary Sends (Note: This is described in the Wwise SDK documentation.)
Generated on Mon Jan 8 10:46:14 2018 for Wwise Unity Integration by
