XRStateChangedEvent#
Class XRStateChangedEvent
Hierarchy
- WebVisEvent
- XRStateChangedEvent
 
Constructors
Properties
Constructors
constructor
- new XRStateChanged Event(xrState): XRStateChangedEvent 
- 
Parameters- 
xrState: Partial<XRState>
 Returns XRStateChangedEvent
- 
Properties
id
id: number
Optional transaction
transaction
Optional transactionID
transactionID?: number
Optional type
xr
The new state of the XR system. Will only include the changed properties. XR_STATE_CHANGED
Event that is fired when the XRState changes.