menu
 
版本
2017.1.9.6501

2024.1.5.8803

2023.1.13.8732

2022.1.19.8584

2021.1.14.8108

2019.2.15.7667

2019.1.11.7296

2018.1.11.6987

2017.2.10.6745

2017.1.9.6501

2016.2.6.6153

2015.1.9.5624


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

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅