Version

menu_open
Attention : vous avez été redirigé vers la plus récente documentation correspondant à votre version générale ( 2024.1.2.8726 ). Si vous souhaitez accéder à la documentation de votre version précise, veuillez télécharger la documentation hors ligne depuis l'Audiokinetic Launcher et sélectionner l'option de documentation Offline dans l'application de création Wwise.
Wwise Unity Integration Documentation

◆ GetGeometryDataFromMesh()

static void AkSurfaceReflector.GetGeometryDataFromMesh ( UnityEngine.Mesh  mesh,
ref GeometryData  geometryData,
AK.Wwise.AcousticTexture[]  acousticTextures = null,
float[]  transmissionLossValues = null,
string  name = "" 
)
inlinestatic

Create Spatial Audio Geometry Data from a Unity mesh. The Geometry Data can be used later to call AkUnitySoundEngine.SetGeometry()

Parameters
meshThe mesh representing the geometry to be sent to Spatial Audio.
geometryData(Output)The Spatial Audio Geometry Data created from the mesh.
acousticTexturesThe acoustic texture of each surface of the geometry. Acoustic textures describe the filtering when sound reflects on the surface.
transmissionLossValuesThe transmission loss value of each surface of the geometry. Transmission loss is the filtering when the sound goes through the surface.
nameA name for the geometry.

Referenced by SetGeometryFromMesh().


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