Version
menu

Wwise SDK 2022.1.19

◆ GeometryInstanceID

AkGeometrySetID AkRoomParams::GeometryInstanceID

Associate this room with the geometry instance GeometryInstanceID, describing the shape of the room. When a room is associated with a geometry instance, the vertices are used to compute the spread value for room transmission. The vertices are used for computing an oriented bounding box for the room where the orientation of the bounding box is given by the Up and Front vectors. The center of the room is defined as the oriented bounding box center. The extent of the bounding box is computed from the geometry set's vertices projected on to the orientation axes.

Note: If the geometry set is only to be used for the room and not for reflection and diffraction calculation, then make sure to set AkGeometryParams::EnableTriangles to false. It will still be necessary to create an instance for the geometry, so that the vertices can be positioned, scaled and rotated as desired.
See also

Definition at line 416 of file AkSpatialAudio.h.


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