@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public interface XRInputSourceEventInit
extends EventInit
| Modifier and Type | Interface and Description |
|---|---|
static interface |
XRInputSourceEventInit.Builder
The XRInputSourceEvent() constructor creates and returns a new XRInputSourceEvent object describing an event (state change) which has occurred on a WebXR user input device represented by an XRInputSource.
|
static interface |
XRInputSourceEventInit.Step1 |
| Modifier and Type | Method and Description |
|---|---|
@JsNonNull XRFrame |
frame()
The XRInputSourceEventInit dictionary's property frame specifies an XRFrame providing information about the timestamp at which the new input source event took place, as well as access to the XRFrame method getPose() which can be used to map the coordinates of any XRReferenceSpace to the space in which the event took place.
|
static XRInputSourceEventInit.Step1 |
frame(XRFrame frame) |
@JsNonNull XRInputSource |
inputSource()
The XRInputSourceEventInit dictionary's inputSource property is used when calling the XRInputSourceEvent() constructor to specify the XRInputSource from which the newly-created event is being sent.
|
void |
setFrame(@JsNonNull XRFrame frame)
The XRInputSourceEventInit dictionary's property frame specifies an XRFrame providing information about the timestamp at which the new input source event took place, as well as access to the XRFrame method getPose() which can be used to map the coordinates of any XRReferenceSpace to the space in which the event took place.
|
void |
setInputSource(@JsNonNull XRInputSource inputSource)
The XRInputSourceEventInit dictionary's inputSource property is used when calling the XRInputSourceEvent() constructor to specify the XRInputSource from which the newly-created event is being sent.
|
bubbles, cancelable, composed, of, setBubbles, setCancelable, setComposed@JsOverlay @Nonnull static XRInputSourceEventInit.Step1 frame(@Nonnull XRFrame frame)
@JsProperty(name="frame") @JsNonNull XRFrame frame()
@JsProperty void setFrame(@JsNonNull XRFrame frame)
@JsProperty(name="inputSource") @JsNonNull XRInputSource inputSource()
@JsProperty void setInputSource(@JsNonNull XRInputSource inputSource)