TryRecenter()
Centers the tracking features on all InputDevice s to the current position and orientation of the head-mounted device.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.XR
- Assembly: UnityEngine.XRModule
public bool TryRecenter()
Returns
Type | Description |
|---|---|
| bool | True if the method recenters the XRInputSubsystem. Returns false otherwise. |
Remarks
This can fail depending on the TrackingOriginMode of the subsystem does not support recentering.