XRStateChangedEvent#
Class XRStateChangedEvent
Hierarchy
- WebVisEvent
- XRStateChangedEvent
Index
Constructors
Properties
Constructors
constructor
- new XRState
Changed Event(xrState): XRStateChangedEvent -
Parameters
-
xrState: Partial<XRState>
Returns XRStateChangedEvent
-
Properties
id
id: number
Optional
transaction Code
transaction Code?: string
Optional
transactionID
transactionID?: number
Optional
type
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.