@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.
|
Float32Array |
projectionMatrix()
The XRView interface's read-only projectionMatrix property specifies the projection matrix to apply to the underlying view.
|
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, is, isExtensible, isFrozen, isSealed, keys, preventExtensions, seal, setPrototypeOf, valueOf_, values@JsProperty(name="eye") @Nonnull @XREye public java.lang.String eye()
@JsProperty(name="projectionMatrix") @Nonnull public Float32Array projectionMatrix()
@JsProperty(name="transform") @Nonnull public XRRigidTransform transform()