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