@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="XRView")
public class XRView
extends JsObject
| Modifier | Constructor and Description |
|---|---|
protected |
XRView() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
eye()
The XRView interface's read-only eye property is a string taken from the XREye enumerated type, indicating which eye's viewpoint the XRView represents: left or right.
|
boolean |
isFirstPersonObserver() |
boolean |
isIsFirstPersonObserverSupported() |
Float32Array |
projectionMatrix()
The XRView interface's read-only projectionMatrix property specifies the projection matrix to apply to the underlying view.
|
java.lang.Double |
recommendedViewportScale() |
void |
requestViewportScale(java.lang.Double scale) |
XRRigidTransform |
transform()
The read-only transform property of the XRView interface is an XRRigidTransform object which provides the position and orientation of the viewpoint relative to the XRReferenceSpace specified when the XRFrame.getViewerPose() method was called to obtain the view object.
|
assign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, values@JsProperty(name="eye") @Nonnull @XREye public java.lang.String eye()
@JsOverlay public final boolean isIsFirstPersonObserverSupported()
@JsProperty(name="isFirstPersonObserver") public boolean isFirstPersonObserver()
@JsProperty(name="projectionMatrix") @Nonnull public Float32Array projectionMatrix()
@JsProperty(name="recommendedViewportScale") @Nullable public java.lang.Double recommendedViewportScale()
@JsProperty(name="transform") @Nonnull public XRRigidTransform transform()
public void requestViewportScale(@Nullable
java.lang.Double scale)