menu
 
版本
2021.1.14.8108

2024.1.4.8780

2023.1.12.8706

2022.1.18.8567

2021.1.14.8108

2019.2.15.7667

2019.1.11.7296

2018.1.11.6987

2017.2.10.6745

2017.1.9.6501

2016.2.6.6153

2015.1.9.5624


menu_open
Wwise Unity Integration Documentation
AkSurfaceReflector类 参考

This component converts the provided mesh into Spatial Audio Geometry. 更多...

继承自 MonoBehaviour , 以及 AK.Wwise.IMigratable .

Public 成员函数

void  SetGeometry ()
  Sends the mesh's triangles and their acoustic texture to Spatial Audio 更多...
 
void  UpdateGeometry ()
  Update the surface reflector's geometry in Spatial Audio. 更多...
 
void  RemoveGeometry ()
  Remove the surface reflector's geometry from Spatial Audio. 更多...
 

Public 属性

UnityEngine.Mesh  Mesh
  The mesh to send to Spatial Audio as a Geometry Set. We recommend using a simplified mesh. 更多...
 
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. 更多...
 
float[]  TransmissionLossValues = new[] { 1.0f }
  The transmission loss value per submesh. The transmission loss value is a control value used to adjust sound parameters. Typically, a value of 1.0 represents total sound loss, and a value of 0.0 indicates that sound can be transmitted through the geometry without any loss. Default value : 1.0. 更多...
 
bool  EnableDiffraction = true
  Switch to enable or disable geometric diffraction for this mesh. 更多...
 
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. 更多...
 
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. 更多...
 

详细描述

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.


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅