文档

Unity Engine

Unity Engine

Recenter()

Center tracking to the current position and orientation of the HMD.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
警告
Deprecated. This API is obsolete, and should no longer be used. Please use XRInputSubsystem.TryRecenter() instead.
public static void Recenter()

Remarks

This only works with seated and standing experiences. Room scale experiences are not affected by Recenter.