Version

menu_open
Wwise SDK 2023.1.7

◆ SetGeometryInstance()

AKSOUNDENGINE_API AKRESULT AK::SpatialAudio::SetGeometryInstance ( AkGeometryInstanceID  in_GeometryInstanceID,
const AkGeometryInstanceParams in_params 
)

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_GeometryInstanceIDUnique geometry set instance ID, chosen by client.
in_paramsGeometry instance parameters to set.

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