Version

menu_open
Wwise SDK 2023.1.8

#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 132 of file AkSpatialAudioTypes.h.


Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise