Documentation

Unity Engine


Unity Engine


Recenter()

Center tracking to the current position and orientation of the HMD.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Method
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
Warning
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.