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.
Optionaltransaction Code
transactionCode?: string
The transaction code associated with the event.
OptionaltransactionID
transactionID?: number
The transaction ID associated with the event.
Optionaltype
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.