Version

menu_open

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...

List of all members.

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:
Generated on Thu Jul 19 10:35:20 2018 for Wwise Unity Integration by  doxygen 1.6.3

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise