We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    Show / Hide Table of Contents

    Class SpatialAwarenessPlanarObject

    Inheritance
    Object
    BaseSpatialAwarenessObject
    SpatialAwarenessPlanarObject
    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 SpatialAwarenessPlanarObject : BaseSpatialAwarenessObject, IMixedRealitySpatialAwarenessObject

    Properties

    Collider

    The BoxCollider associated with this plane's GameObject.

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

    SurfaceType

    The type of surface (ex: wall) represented by this object.

    Declaration
    public SpatialAwarenessSurfaceTypes SurfaceType { get; }
    Property Value
    Type Description
    SpatialAwarenessSurfaceTypes

    Methods

    CreateSpatialObject(Vector3, Vector3, Quaternion, Int32, String, Int32, SpatialAwarenessSurfaceTypes)

    Creates a SpatialAwarenessPlanarObject.

    Declaration
    public static SpatialAwarenessPlanarObject CreateSpatialObject(Vector3 center, Vector3 size, Quaternion rotation, int layer, string name, int planeId, SpatialAwarenessSurfaceTypes surfaceType = SpatialAwarenessSurfaceTypes.Unknown)
    Parameters
    Type Name Description
    Vector3 center
    Vector3 size
    Quaternion rotation
    Int32 layer
    String name
    Int32 planeId
    SpatialAwarenessSurfaceTypes surfaceType
    Returns
    Type Description
    SpatialAwarenessPlanarObject

    SpatialAwarenessPlanarObject containing the fields that describe the plane.

    Implements

    IMixedRealitySpatialAwarenessObject
    In This Article
    Back to top Generated by DocFX