Editar

Partilhar via


SpatialAwarenessMeshObject.Create 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

SpatialMeshObject containing the fields that describe the mesh.

Applies to