XRStateChangedEvent¶
Class XRStateChangedEvent
Hierarchy (View Summary)
- WebVisEvent
- XRStateChangedEvent
Index
Constructors
Properties
Constructors
constructor
- new XRStateChangedEvent(xrState: Partial<XRState>): XRStateChangedEvent
Parameters
- xrState: Partial<XRState>
Returns XRStateChangedEvent
Properties
id
id: number
The unique ID of the event.
Optional
transaction Code
transactionCode?: string
The transaction code associated with the event.
Optional
transactionID
transactionID?: number
The transaction ID associated with the event.
Optional
type
The type of the event.
xr State
The new state of the XR system. Will only include the changed properties. XR_STATE_CHANGED
Event that is fired when the XRState changes.