Add or update a geometry instance from the SpatialAudio
module for geometric reflection and diffraction processing. A geometry instance is a unique instance of a geometry set with a specified transform (position, rotation and scale). It is necessary to create at least one geometry instance for each geometry set that is to be used for diffraction and reflection simulation. The ID (in_GeomSetInstanceID
) must be unique amongst all geometry instances, including geometry instances referencing different geometry sets. The ID is chosen by the client in a manner similar to AkGameObjectID's
. To update the transform of an existing geometry instance, call SetGeometryInstance again, passing the same AkGeometryInstanceID
, with the updated transform.
- See also
-
- Parameters
-
in_GeometryInstanceID | Unique geometry set instance ID, chosen by client. |
in_params | Geometry instance parameters to set. |