docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TrackableTypeExtensions

    Extension methods for TrackableType.

    Inheritance
    object
    TrackableTypeExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.XR.ARSubsystems
    Assembly: Unity.XR.ARSubsystems.dll
    Syntax
    public static class TrackableTypeExtensions

    Properties

    allPlaneTypes

    The bitwise combination of every plane sub-type flag (for example, PlaneWithinPolygon and PlaneWithinBounds, etc).

    Declaration
    public static TrackableType allPlaneTypes { get; }
    Property Value
    Type Description
    TrackableType

    Methods

    IsPlane(TrackableType)

    Determines whether trackableType refers to, or includes, any plane type.

    Declaration
    public static bool IsPlane(this TrackableType trackableType)
    Parameters
    Type Name Description
    TrackableType trackableType

    The trackable type or type mask to test.

    Returns
    Type Description
    bool

    true if trackableType contains any plane sub-type flag; otherwise, false.

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)