@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 XRInputSourceEventInit dictionary is used when calling the XRInputSourceEvent() constructor to provide configuration options for the newly-created XRInputSourceEvent object to take on.
|
| Modifier and Type | Method and Description |
|---|---|
static XRInputSourceEventInit.Builder |
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.
|
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.Builder create(@Nonnull XRFrame frame, @Nonnull XRInputSource inputSource)
@JsProperty(name="frame") @Nonnull XRFrame frame()
@JsProperty
void setFrame(@Nonnull
XRFrame frame)
@JsProperty(name="inputSource") @Nonnull XRInputSource inputSource()
@JsProperty
void setInputSource(@Nonnull
XRInputSource inputSource)