Table des matières

AkGameObj Class Reference

This component represents a sound emitter in your scene. It will track its position and other game syncs such as Switches, RTPC and environment values. You can add this to any object that will emit sound. 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 API (see AkSoundEngine.cs). More...

List of all members.

Public Member Functions

Vector3  GetPosition ()

Public Attributes

AkGameObjPositionOffsetData  m_positionOffsetData = null
  When not set to null, the emitter 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.
int  listenerMask = 1
  Listener 0 by default.

Detailed Description

This component represents a sound emitter in your scene. It will track its position and other game syncs such as Switches, RTPC and environment values. You can add this to any object that will emit sound. 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 API (see AkSoundEngine.cs).

See also:
  • soundengine_gameobj
  • soundengine_events
  • soundengine_switch
  • soundengine_states
  • soundengine_environments
Generated on Tue Aug 23 02:45:00 2016 for Wwise Unity Integration by  doxygen 1.6.3