Show / Hide Table of Contents

    Class SpatialAwarenessMeshObject

    Object encapsulating the components of a spatial awareness mesh object.

    Inheritance
    Object
    BaseSpatialAwarenessObject
    SpatialAwarenessMeshObject
    Implements
    IMixedRealitySpatialAwarenessObject
    Inherited Members
    BaseSpatialAwarenessObject.Id
    BaseSpatialAwarenessObject.GameObject
    BaseSpatialAwarenessObject.Renderer
    BaseSpatialAwarenessObject.Filter
    BaseSpatialAwarenessObject.CleanObject()
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.SpatialAwareness
    Assembly: cs.temp.dll.dll
    Syntax
    public class SpatialAwarenessMeshObject : BaseSpatialAwarenessObject, IMixedRealitySpatialAwarenessObject

    Properties

    Collider

    The collider for the mesh object.

    Declaration
    public MeshCollider Collider { get; set; }
    Property Value
    Type Description
    MeshCollider

    Methods

    Cleanup(SpatialAwarenessMeshObject, Boolean, Boolean)

    Clean up the resources associated with the surface.

    Declaration
    public static void Cleanup(SpatialAwarenessMeshObject meshObject, bool destroyGameObject = true, bool destroyMeshes = true)
    Parameters
    Type Name Description
    SpatialAwarenessMeshObject meshObject

    The SpatialAwarenessMeshObject whose resources will be cleaned up.

    Boolean destroyGameObject
    Boolean destroyMeshes

    Create(Mesh, Int32, String, Int32, GameObject)

    Creates a SpatialAwarenessMeshObject.

    Declaration
    public static SpatialAwarenessMeshObject Create(Mesh mesh, int layer, string name, int meshId, GameObject meshParent = null)
    Parameters
    Type Name Description
    Mesh mesh
    Int32 layer
    String name
    Int32 meshId
    GameObject meshParent
    Returns
    Type Description
    SpatialAwarenessMeshObject

    SpatialMeshObject containing the fields that describe the mesh.

    Implements

    IMixedRealitySpatialAwarenessObject
    Back to top Generated by DocFX