XRStateChangedEvent#

Class XRStateChangedEvent

Event that is fired when the XRState changes.

Hierarchy

Constructors

Properties

id: number
transactionCode?: string
transactionID?: number
type?: EventType
xrState: Partial<XRState>

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