Table of Contents

Wwise SDK 2021.1.1

◆ RoomID

AkRoomID AkGeometryParams::RoomID

Associate this geometry set with the room RoomID. Associating a geometry set with a particular room will limit the scope in which the geometry is visible/accessible. RoomID can be left as default (-1), in which case this geometry set will have a global scope. It is recommended to associate geometry with a room when the geometry is (1) fully contained within the room (ie. not visible to other rooms accept by portals), and (2) the room does not share geometry with other rooms. Doing so reduces the search space for ray casting performed by reflection and diffraction calculations. Take note that once one or more geometry sets are associated with a room, that room will no longer be able to access geometry that is in the global scope.

Definition at line 536 of file AkSpatialAudio.h.