Прочетете на английски Редактиране

Споделяне чрез


TrackingState Enum

Definition

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.

C++
public enum class TrackingState
Inheritance
TrackingState

Fields

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).

Remarks

Tracking is being defined as receiving sensor (positional and/or rotational) data from the device.

Applies to

Продукт Версии
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