SpatialAwarenessMeshObject.Create(Mesh, Int32, String, Int32, GameObject) Method

Definition

public static Microsoft.MixedReality.Toolkit.SpatialAwareness.SpatialAwarenessMeshObject Create (UnityEngine.Mesh mesh, int layer, string name, int meshId, UnityEngine.GameObject meshParent = default);
static member Create : UnityEngine.Mesh * int * string * int * UnityEngine.GameObject -> Microsoft.MixedReality.Toolkit.SpatialAwareness.SpatialAwarenessMeshObject
Public Shared Function Create (mesh As Mesh, layer As Integer, name As String, meshId As Integer, Optional meshParent As GameObject = Nothing) As SpatialAwarenessMeshObject

Parameters

mesh
UnityEngine.Mesh
layer
Int32
name
String
meshId
Int32
meshParent
UnityEngine.GameObject

Returns

SpatialAwarenessMeshObject

SpatialMeshObject containing the fields that describe the mesh.

Applies to