Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TrackingOriginModeFlags

This enum provides context to where the 0,0,0 point of tracking for InputDevice s is.
Read time 1 minuteLast updated 4 days ago

Definition

public enum TrackingOriginModeFlags

Remarks

Each XRInputSubsystem has a single origin for all reported InputDevices. The origin can be relative to either real-world objects, such as a physical tracking device, or virtual objects, such as the center of a user-drawn bounding region.

Fields

Value

Description

DeviceXRInputSubsystem tracks all InputDevices in reference to the first known location of a specific InputDevice when set to TrackingOriginModeFlags.Device.
FloorXRInputSubsystem tracks all InputDevices in reference to a point on the floor when set to TrackingOriginModeFlags.Floor.
TrackingReferenceXRInputSubsystem tracks all InputDevices in reference to an InputDevice with the InputDeviceCharacteristics.TrackingReference flag set when set to TrackingOriginModeFlags.TrackingReference.
UnboundedXRInputSubsystem tracks all InputDevices in relation to a world anchor. This world anchor can change at any time, and is chosen by the runtime.
UnknownTrackingOriginModeFlags.Unknown enumerates when the XRInputSubsystem was not able to set its tracking origin or has no tracking.