class in UnityEngine.XR
/
Inherits from:IntegratedSubsystem
/
Implemented in:UnityEngine.XRModule
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.
CloseFor 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.
CloseXRInputSubsystem Instance is used to enable and disable the inputs coming from a specific plugin.
Starting up an XRInputSubsystem Instance will cause that plugin to start feeding input device data to the following InputTracking systems: XR.InputTracking.GetLocalPosition and XR.InputTracking.GetLocalRotation. Calling the Stop or Shutdown functions will disable polling any input device data for that plugin.
GetSupportedTrackingOriginModes | Gets all TrackingOriginModeFlags that this subsystem supports. |
GetTrackingOriginMode | Gets the Tracking Origin Mode. |
TryGetBoundaryPoints | Gets the list of 3D position values that represents the SDK-set boundary. |
TryGetInputDevices | Gets a list of all connected InputDevices reported by this XRInputSubsystem. |
TryRecenter | Centers the tracking features on all InputDevices to the current position and orientation of the head-mounted device. |
TrySetTrackingOriginMode | Attempts to set the TrackingOriginModeFlags of the subsystem. |
boundaryChanged | An event that takes the delegate instance that the XRInputSubsystem calls when it changes its tracking boundary. |
trackingOriginUpdated | An event that takes the delegate instance that the XRInputSubsystem calls when it changes the origin it reports devices at. |