Version

menu_open
Wwise SDK 2024.1.0

◆ GeometryInstanceID

AkGeometrySetID AkRoomParams::GeometryInstanceID

Assign a Geometry Instance GeometryInstanceID, which describes the size and shape of the Room. Assigning a Geometry Instance to a Room serves several purposes: the shape and surface properties of the geometry are used to calculate the transmission of reverb and room tones through walls, it allows Spatial Audio to automatically determine which Game Objects are in which Room, and it allows for visualization of the room inside the Game Object 3D Viewer. To create Room geometry, a Geometry Set must be created using AK::SpatialAudio::SetGeometry, and then a Geometry Instance must be created using AK::SpatialAudio::SetGeometryInstance. The Room itself, however, can be created either before or after the geometry is created.

Note: If the geometry instance is only used for room containment and not for reflection, diffraction, or transmission, then set AkGeometryInstanceParams::UseForReflectionAndDiffraction to false.
See also

Definition at line 504 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