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().
- 引数
-
mesh | The mesh representing the geometry to be sent to Spatial Audio. |
geometryID | A unique ID representing the geometry. |
enableDiffraction | Enable the edges of this geometry to become diffraction edges. |
enableDiffractionOnBoundaryEdges | Enable the boundary edges of this geometry to become diffraction edges. Boundary edges are edges that are connected to only one triangle. |
acousticTextures | The acoustic texture of each surface of the geometry. Acoustic textures describe the filtering when sound reflects on the surface. |
transmissionLossValues | The transmission loss value of each surface of the geometry. Transmission loss is the filtering when the sound goes through the surface. |
name | A name for the geometry. |
- 戻り値
- Returns true if the Geometry was sent to Wwise.
参照先 GetGeometryDataFromMesh().
参照元 SetGeometry().