Version

    Autre Documentation

menu_open
Wwise SDK 2018.1.11

◆ SetGameObjectInRoom()

AKRESULT __cdecl AK::SpatialAudio::SetGameObjectInRoom ( AkGameObjectID  in_gameObjectID,
AkRoomID  in_CurrentRoomID 
)

Set the room that the game object is currently located in - usually the result of a containment test performed by the client. The room must have been registered with SetRoom. Setting the room for a game object provides the basis for the sound propagation service, and also sets which room's reverb aux bus to send to. The sound propagation service traces the path of the sound from the emitter to the listener, and calculates the diffraction as the sound passes through each portal. The portals are used to define the spatial location of the diffracted and reverberated audio.

See also
Parameters
in_gameObjectID Game object ID
in_CurrentRoomID RoomID that was passed to AK::SpatialAudio::SetRoom

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