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.

Experimental: this API is experimental and might be changed or removed in the future.

TrackableId

struct in UnityEngine.Experimental.XR

Description

A session-unique identifier for trackables in the environment, e.g., planes and feature points.

Ids are generally unique to a particular XRSessionSubsystem, but multiple sessions may produce identical ids for different trackables.

Static Properties

InvalidIdRepresents an invalid id.

Public Methods

ToStringGenerates a nicely formatted version of the id.

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