This version of Unity is unsupported.

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.