Version

menu_open
Wwise SDK 2022.1.18

◆ RoomID

AkRoomID AkGeometryInstanceParams::RoomID

Associate this geometry instance with the room RoomID. Associating a geometry instance 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 instance 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 instances are associated with a room, that room will no longer be able to access geometry that is in the global scope.

Definition at line 522 of file AkSpatialAudio.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