TrackingState Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Tracking State defines how a device is currently being tracked. This enables developers to be able to handle non-tracked situations and react accordingly.
public enum class TrackingState
public enum TrackingState
type TrackingState =
Public Enum TrackingState
- Inheritance
-
TrackingState
Name | Value | Description |
---|---|---|
NotApplicable | 0 | The device does not support tracking (ex: a traditional game controller). |
NotTracked | 1 | The device is not tracked. |
Tracked | 2 | The device is tracked (positionally and/or rotationally). |
Tracking is being defined as receiving sensor (positional and/or rotational) data from the device.
Продукт | Версии |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |