SpatialAwarenessMeshObject.Create Method    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a SpatialAwarenessMeshObject.
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.