AkGameObj类参考
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. 更多...
公有成员 | |
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 () |
公有属性 | |
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.
- 参见:
- 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 at Thu Feb 1 09:40:31 2018 for Wwise Unity Integration by
