@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="XRReferenceSpaceEvent")
public class XRReferenceSpaceEvent
extends Event
AT_TARGET, BUBBLING_PHASE, cancelBubble, CAPTURING_PHASE, NONE, returnValue| Constructor and Description |
|---|
XRReferenceSpaceEvent(java.lang.String type,
XRReferenceSpaceEventInit eventInitDict)
The XRReferenceSpaceEvent() constructor is used to create a new XRReferenceSpaceEvent object, which represents an event regarding the state of a WebXR reference space object, XRReferenceSpace.
|
| Modifier and Type | Method and Description |
|---|---|
XRReferenceSpace |
referenceSpace()
The read-only XRReferenceSpaceEvent property referenceSpace specifies the reference space which is the originator of the event.
|
XRRigidTransform |
transform()
The read-only XRReferenceSpaceEvent property transform indicates the position and orientation of the affected referenceSpace's native origin after the changes the event represents are applied.
|
bubbles, cancelable, composed, composedPath, currentTarget, defaultPrevented, eventPhase, initEvent, initEvent, initEvent, isTrusted, preventDefault, srcElement, stopImmediatePropagation, stopPropagation, target, timeStamp, typeassign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, is, isExtensible, isFrozen, isSealed, keys, preventExtensions, seal, setPrototypeOf, valueOf_, valuespublic XRReferenceSpaceEvent(@Nonnull
java.lang.String type,
@Nonnull
XRReferenceSpaceEventInit eventInitDict)
@JsProperty(name="referenceSpace") @Nonnull public XRReferenceSpace referenceSpace()
@JsProperty(name="transform") @Nullable public XRRigidTransform transform()