Table des matières

Wwise SDK 2018.1.11

◆ SetRoom()

AKRESULT __cdecl AK::SpatialAudio::SetRoom ( AkRoomID  in_RoomID,
const AkRoomParams in_Params 

Add or update a room. Rooms are used to connect portals and define an orientation for oriented reverbs. This function may be called multiple times with the same ID to update the parameters of the room. The ID (in_RoomID) must be chosen in the same manner as AkGameObjectID's, as they are in the same ID-space. The spatial audio lib manages the registration/unregistration of internal game objects for rooms that use these IDs and, therefore, must not collide.

See also
in_RoomID Unique room ID, chosen by the client.
in_Params Parameter for the room.