@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public static interface XRInputSourceEventInit.Builder
extends XRInputSourceEventInit
XRInputSourceEventInit.Builder| Modifier and Type | Method and Description |
|---|---|
default XRInputSourceEventInit.Builder |
bubbles(boolean bubbles) |
default XRInputSourceEventInit.Builder |
cancelable(boolean cancelable) |
default XRInputSourceEventInit.Builder |
composed(boolean composed) |
default XRInputSourceEventInit.Builder |
frame(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.
|
default XRInputSourceEventInit.Builder |
inputSource(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.
|
create, frame, inputSource, setFrame, setInputSourcebubbles, cancelable, composed, create, setBubbles, setCancelable, setComposed@JsOverlay @Nonnull default XRInputSourceEventInit.Builder frame(@Nonnull XRFrame frame)
@JsOverlay @Nonnull default XRInputSourceEventInit.Builder inputSource(@Nonnull XRInputSource inputSource)
@JsOverlay @Nonnull default XRInputSourceEventInit.Builder bubbles(boolean bubbles)
@JsOverlay @Nonnull default XRInputSourceEventInit.Builder cancelable(boolean cancelable)
@JsOverlay @Nonnull default XRInputSourceEventInit.Builder composed(boolean composed)