Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2022.1.17.8543 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Wwise SDK 2022.1.17

#include <AkSpatialAudioTypes.h>

Inheritance diagram for AkRoomID:
AkSpatialAudioID

Public Member Functions

constexpr AkRoomID ()
 Default constructor. Creates an invalid ID. More...
 
 AkRoomID (AkUInt64 _id)
 Construct from a 64-bit int. More...
 
 AkRoomID (const void *ptr)
 Conversion from a pointer to a AkRoomID. More...
 
AkGameObjectID AsGameObjectID () const
 Conversion function used to convert AkRoomID's to AkGameObjectIDs. More...
 
- Public Member Functions inherited from AkSpatialAudioID
constexpr AkSpatialAudioID ()
 Default constructor. Creates an invalid ID. More...
 
 AkSpatialAudioID (AkUInt64 _id)
 Construct from a 64-bit int. More...
 
 AkSpatialAudioID (const void *ptr)
 Conversion from a pointer to a AkSpatialAudioID. More...
 
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. More...
 
AkGameObjectID AsGameObjectID () const
 Conversion function used internally to convert from a AkSpatialAudioID to a AkGameObjectID. More...
 
 operator AkUInt64 () const
 

Static Public Member Functions

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

Additional Inherited Members

- Public Attributes inherited from AkSpatialAudioID
AkUInt64 id
 

Detailed Description

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

See also

Definition at line 130 of file AkSpatialAudioTypes.h.


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