XRInputSubsystem.TrySetTrackingOriginMode

Declaration

public bool TrySetTrackingOriginMode(XR.TrackingOriginModeFlags origin);

Parameters

origin The new TrackingOriginModeFlags that you'd like to change to.

Returns

bool True if the method changes the origin. Returns false otherwise.

Description

Attempts to set the TrackingOriginModeFlags of the subsystem.

See XRInputSubsystem.GetSupportedTrackingOriginModes in order to see what modes this individual XRInputSubsystem supports, and XRInputSubsystem.GetTrackingOriginMode to see the current mode.


Did you find this page useful? Please give it a rating: