XRStateChangedEventΒΆ

Event that is fired when the XRState changes.

Hierarchy (View Summary)

Constructors

Properties

id: number

The unique ID of the event.

transactionCode?: string

The transaction code associated with the event.

transactionID?: number

The transaction ID associated with the event.

type?: EventType

The type of the event.

xrState: Partial<XRState>

The new state of the XR system. Will only include the changed properties. XR_STATE_CHANGED