Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


trackingOriginUpdated

An event that takes the delegate instance that the XRInputSubsystem calls when it changes the origin it reports devices at.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Event
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
public event Action<XRInputSubsystem> trackingOriginUpdated

Remarks

This can be due to a change in the TrackingOriginModeFlags or from the XRInputSubsystem moving the location of the origin without changing the type. See
XRInputSubsystem.GetTrackingOrigin
in order to see the new TrackingOriginModeFlags.