Version

menu_open
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().


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