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