Version

menu_open

AkSpatialAudioListener Class Reference

Add this script on the game object that represent a listener. This is normally added to the Camera object or the Player object, but can be added to any game object when implementing 3D busses. isDefaultListener determines whether the game object will be considered a default listener - a listener that automatically listens to all game objects that do not have listeners attached to their AkGameObjListenerList's. More...

Inheritance diagram for AkSpatialAudioListener:
AkSpatialAudioBase

List of all members.

Classes

class   SpatialAudioListenerList
  This class represents the list of active Unity Game Objects that are designated to be spatial audio listeners. Currently, only one spatial audio listener can be active at a time. More...

Public Member Functions

void  EnteredRoom (AkRoom room)
  Called when entering a room.
void  ExitedRoom (AkRoom room)
  Called when exiting a room.
void  SetGameObjectInRoom ()
  Sets the Unity Game Object within the highest priority room.

Properties

static AkAudioListener  TheSpatialAudioListener [get]
  Returns the "single" spatial audio listener.
static SpatialAudioListenerList  SpatialAudioListeners [get]
  Returns the list of active Unity Game Objects that are designated to be spatial audio listeners.

Detailed Description

Add this script on the game object that represent a listener. This is normally added to the Camera object or the Player object, but can be added to any game object when implementing 3D busses. isDefaultListener determines whether the game object will be considered a default listener - a listener that automatically listens to all game objects that do not have listeners attached to their AkGameObjListenerList's.

See also:
Generated on Mon Apr 15 18:03:42 2019 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