Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

TrackableType

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

A trackable is feature in the physical environment that a device is able to track, such as a plane.

TrackableType may be used as a flag and passed to methods like XRRaycastSubsystem.Raycast to specify different types of trackables to raycast against.

Properties

NoneNo trackable.
PlaneWithinPolygonThe boundary of a BoundedPlane
PlaneWithinBoundsWithin the BoundedPlane.Size of a BoundedPlane
PlaneWithinInfinityThe infinite plane of a BoundedPlane
PlaneEstimatedAn estimated plane.
PlanesAny of the plane types.
FeaturePointA feature point.
AllAll trackables (planes and point cloud)

Did you find this page useful? Please give it a rating: