XRPlaybackStateChangedEvent¶
Class XRPlaybackStateChangedEvent
Hierarchy (View Summary)
- WebVisEvent- XRPlaybackStateChangedEvent
 
Constructors
Properties
constructor
- new XRPlaybackStateChangedEvent(
 xrPlaybackState: Partial<XRPlaybackState>,
 ): XRPlaybackStateChangedEvent
- Parameters- xrPlaybackState: Partial<XRPlaybackState>
 - Returns XRPlaybackStateChangedEvent
id
id: number
The unique ID of the event.
Optionaltransaction
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
The new state of the XR playback. Will only include the changed properties. XR_PLAYBACK_STATE_CHANGED
Event that is fired when the XRPlaybackState changes.