docs.unity.cn
    Show / Hide Table of Contents

    Enum TrackableType

    Flags representing trackable types in XR. A "trackable" is feature in the physical environment that a device is able to track, such as a surface. Often used in conjunction with XRRaycastHit.

    Namespace: UnityEngine.XR.ARSubsystems
    Syntax
    [Flags]
    public enum TrackableType

    Fields

    Name Description Value
    None

    No trackable.

    0
    PlaneWithinPolygon

    Refers to 2D convex shape associated with a plane's boundary points.

    1
    PlaneWithinBounds

    Refers to the 2D rectangular bounding box that tightly encloses the plane's polygon.

    2
    PlaneWithinInfinity

    Refers to the infinite plane described by its Pose (a position and orientation).

    4
    PlaneEstimated

    Refers to an estimated plane.

    8
    Planes

    Refers to any of the plane type trackables.

    15
    FeaturePoint

    Refers to a feature point (i.e., point in a point cloud).

    16
    Image

    Refers to a tracked image.

    32
    Face

    Refers to a tracked face.

    64
    All

    Refers to all trackable types.

    127
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 12 February 2021