Version
Wwise Unity Integration Documentation
|
This component converts the provided mesh into Spatial Audio Geometry. More...
Inherits MonoBehaviour, and IMigratable.
Public Member Functions | |
void | SetGeometry () |
Sends the mesh's triangles and their acoustic texture to Spatial Audio More... |
|
void | UpdateGeometry () |
Update the surface reflector's geometry in Spatial Audio. More... |
|
void | RemoveGeometry () |
Remove the surface reflector's geometry from Spatial Audio. More... |
|
Public Attributes | |
UnityEngine.Mesh | Mesh |
The mesh to send to Spatial Audio as a Geometry Set. We recommend using a simplified mesh. More... |
|
AK.Wwise.AcousticTexture[] | AcousticTextures = new AK.Wwise.AcousticTexture[1] |
The acoustic texture per submesh. The acoustic texture represents the surface of the geometry. An acoustic texture is a set of absorption levels that will filter the sound reflected from the geometry. More... |
|
float[] | OcclusionValues = new[] { 1.0f } |
The occlusion value per submesh. The occlusion value is a control value used to adjust sound parameters. Typically, a value of 1.0 represents fully occluded, and a value of 0.0 indicates that sound can be transmitted through the geometry. Default value : 1.0. More... |
|
bool | EnableDiffraction = false |
Switch to enable or disable geometric diffraction for this mesh. More... |
|
bool | EnableDiffractionOnBoundaryEdges = false |
Switch to enable or disable geometric diffraction on boundary edges for this mesh. Boundary edges are edges that are connected to only one triangle. More... |
|
AkRoom | AssociatedRoom = null |
Optional room with which this surface reflector is associated. It is recommended to associate geometry with a particular room if the geometry is fully contained within the room and the room does not share any geometry with any other rooms. Doing so reduces the search space for ray casting performed by reflection and diffraction calculations. More... |
|
This component converts the provided mesh into Spatial Audio Geometry.
This component takes a mesh as a parameter. The triangles of the mesh are sent to Spatial Audio by calling SpatialAudio::AddGeometrySet(). The triangles reflect sounds that have an associated early reflections bus. If diffraction is enabled on this component, spatial audio also finds edges on the provided mesh, which diffract sounds that are diffraction enabled.
Questions? Problems? Need more info? Contact us, and we can help!
Visit our Support pageRegister your project and we'll help you get started with no strings attached!
Get started with Wwise