버전

menu_open
Wwise Unity Integration Documentation

This component converts the provided mesh into Spatial Audio Geometry. 더 자세히 ...

MonoBehaviour, AK.Wwise.IMigratable를(을) 상속했습니다.

클래스

struct  GeometryData
 The Spatial Audio Geometry Data. Can be used when calling AkSoundEngine.SetGeometry() 더 자세히 ...
 

Public 멤버 함수

void SetGeometry ()
 Call AkSurfaceReflector::SetGeometryFromMesh() with this component's mesh. 더 자세히 ...
 
void SetGeometryInstance ()
 Call AkSurfaceReflector::SetGeometryInstance() with this component's tranform. 더 자세히 ...
 
void UpdateGeometry ()
 Update this component's geometry instance 더 자세히 ...
 
void RemoveGeometry ()
 Remove this component's geometry and corresponding instance from Spatial Audio. 더 자세히 ...
 
void RemoveGeometryInstance ()
 Remove this component's geometry instance from Spatial Audio. 더 자세히 ...
 

정적 Public 멤버 함수

static bool SetGeometryFromMesh (UnityEngine.Mesh mesh, ulong geometryID, bool enableDiffraction, bool enableDiffractionOnBoundaryEdges, AK.Wwise.AcousticTexture[] acousticTextures=null, float[] transmissionLossValues=null, string name="")
 Convert the mesh into a geometry consisting of vertices, triangles, surfaces, acoustic textures and transmission loss values. Send it to Wwise with the rest of the AkGeometryParams to add or update a geometry in Spatial Audio. It is necessary to create at least one geometry instance for each geometry set that is to be used for diffraction and reflection simulation. See SetGeometryInstance(). 더 자세히 ...
 
static void GetGeometryDataFromMesh (UnityEngine.Mesh mesh, ref GeometryData geometryData, AK.Wwise.AcousticTexture[] acousticTextures=null, float[] transmissionLossValues=null, string name="")
 Create Spatial Audio Geometry Data from a Unity mesh. The Geometry Data can be used later to call AkSoundEngine.SetGeometry() 더 자세히 ...
 
static void SetGeometryInstance (ulong geometryInstanceID, ulong geometryID, ulong associatedRoomID, UnityEngine.Transform transform, bool useForReflectionAndDiffraction)
 Add or update an instance of the geometry by sending the transform of this component to Wwise. 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. 더 자세히 ...
 

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
 

상세한 설명

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를 시작해 보세요