Documentation

Unity Engine


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 a month 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 TrackingOriginFlags or from the XRInputSubsystem moving the location of the origin without changing the type. See GetTrackingOrigin in order to see the new TrackingOriginFlags.