Enum TrackableType
Flags that represent 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 |
---|---|---|
AllTypes | Refers to all trackable types. |
-1 |
None | No trackable. |
0 |
PlaneWithinPolygon | Refers to the 2D convex shape associated with a plane's boundary points. When used as the |
1 |
PlaneWithinBounds | Refers to the 2D rectangular bounding box that tightly encloses the plane's polygon. When used as the |
2 |
PlaneWithinInfinity | Refers to the infinite plane described by its When used as the |
4 |
PlaneEstimated | Refers to an estimated plane. When used as the |
8 |
Planes | Refers to any of the plane type trackables. Often used with the |
15 |
FeaturePoint | Refers to a feature point (that is, a point in a point cloud). When used as the |
16 |
Image | Refers to a tracked image. |
32 |
Face | Refers to a tracked face. |
64 |
All | Deprecated in favor of AllTypes. Refers to all trackable types except Depth. |
127 |
Depth | Refers to a point in the depth map. |
128 |