版本

menu_open
Wwise SDK 2021.1.14

#include <AkSpatialAudioTypes.h>

类 AkRoomID 继承关系图:
AkSpatialAudioID

Public 成员函数

  AkRoomID ()
  Default constructor. Creates an invalid ID. 更多...
 
  AkRoomID (AkUInt64 _id)
  Construct from a 64-bit int. 更多...
 
  AkRoomID (const void *ptr)
  Conversion from a pointer to a AkRoomID 更多...
 
AkGameObjectID  AsGameObjectID () const
  Conversion function used to convert AkRoomID's to AkGameObjectIDs. 更多...
 
- Public 成员函数 继承自 AkSpatialAudioID
  AkSpatialAudioID ()
  Default constructor. Creates an invalid ID. 更多...
 
  AkSpatialAudioID (AkUInt64 _id)
  Construct from a 64-bit int. 更多...
 
  AkSpatialAudioID (const void *ptr)
  Conversion from a pointer to a AkSpatialAudioID 更多...
 
bool  operator== (AkSpatialAudioID rhs) const
 
bool  operator!= (AkSpatialAudioID rhs) const
 
bool  operator< (AkSpatialAudioID rhs) const
 
bool  operator> (AkSpatialAudioID rhs) const
 
bool  operator<= (AkSpatialAudioID rhs) const
 
bool  operator>= (AkSpatialAudioID rhs) const
 
bool  IsValid () const
  Determine if this ID is valid. 更多...
 
AkGameObjectID  AsGameObjectID () const
  Conversion function used internally to convert from a AkSpatialAudioID to a AkGameObjectID. 更多...
 
  operator AkUInt64 ()
 

静态 Public 成员函数

static AkRoomID  FromGameObjectID (AkGameObjectID in_fromGameObject)
  Conversion function used to convert to AkGameObjectIDs to AkRoomID. 更多...
 

额外继承的成员函数

- Public 属性 继承自 AkSpatialAudioID
AkUInt64  id
 

详细描述

Spatial Audio Room ID type. This ID type exists in the same ID-space as game object ID's. The client is responsible for not choosing room ID's that conflict with registered game objects' ID's. Internally, the spatial audio rooms and portals API manages registration and un-registration of game objects that represent rooms using AkRoomID's provided by the client; AkRoomID's are converted to AkGameObjectID's by calling AsGameObjectID().

参见

在文件 AkSpatialAudioTypes.h135 行定义.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅