SoundToolKit  1.5
SoundToolKit.Unity.SoundToolKitMesh Class Reference

StkMesh convert UnityMesh to triangles which can be used by Stk to create acoustic geometry. This component should be placed with a UnityMesh. This mesh will be automatically converted to acoustic geometry in Stk. More...

Inheritance diagram for SoundToolKit.Unity.SoundToolKitMesh:

Public Member Functions

void OnStkInitialized (SoundToolKitManager soundToolKitManager)
 

Properties

UnityEngine.Mesh Mesh [get]
 UnityMesh currently in use by Stk. More...
 
bool? EnabledAsAcousticObstacle [get, set]
 This method can disable this mesh as an obstacle for sound paths in STK Engine processing. Enabled by default. More...
 
ReadOnlyCollection< Vector3 > Faces [get]
 Converted faces of UnityMesh More...
 
SoundToolKitMaterial Material [get, set]
 StkMaterial which is used on this mesh. More...
 
SoundToolKitMeshCluster MeshCluster [get, set]
 Mesh Cluster that this mesh is part of. More...
 
bool Initialized [get]
 

Detailed Description

StkMesh convert UnityMesh to triangles which can be used by Stk to create acoustic geometry. This component should be placed with a UnityMesh. This mesh will be automatically converted to acoustic geometry in Stk.

Member Function Documentation

◆ OnStkInitialized()

void SoundToolKit.Unity.SoundToolKitMesh.OnStkInitialized ( SoundToolKitManager  soundToolKitManager)

Property Documentation

◆ EnabledAsAcousticObstacle

bool? SoundToolKit.Unity.SoundToolKitMesh.EnabledAsAcousticObstacle
getset

This method can disable this mesh as an obstacle for sound paths in STK Engine processing. Enabled by default.

◆ Faces

ReadOnlyCollection<Vector3> SoundToolKit.Unity.SoundToolKitMesh.Faces
get

Converted faces of UnityMesh

◆ Initialized

bool SoundToolKit.Unity.SoundToolKitMesh.Initialized
get

◆ Material

SoundToolKitMaterial SoundToolKit.Unity.SoundToolKitMesh.Material
getset

StkMaterial which is used on this mesh.

◆ Mesh

UnityEngine.Mesh SoundToolKit.Unity.SoundToolKitMesh.Mesh
get

UnityMesh currently in use by Stk.

◆ MeshCluster

SoundToolKitMeshCluster SoundToolKit.Unity.SoundToolKitMesh.MeshCluster
getset

Mesh Cluster that this mesh is part of.