Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

XRInputSubsystem.TryRecenter

Declaration

public bool TryRecenter();

Returns

bool True if the method recenters the XRInputSubsystem. Returns false otherwise.

Description

Centers the tracking features on all InputDevices to the current position and orientation of the head-mounted device.

This can fail depending on the TrackingOriginMode of the subsystem does not support recentering.