@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="XRFrame")
public class XRFrame
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
XRFrame() |
| Modifier and Type | Method and Description |
|---|---|
XRPose |
getPose(XRSpace space,
XRSpace baseSpace)
The XRFrame method getPose() returns the relative position and orientation—the pose—of one XRSpace to that of another space.
|
XRViewerPose |
getViewerPose(XRReferenceSpace referenceSpace)
The getViewerPose() method, a member of the XRFrame interface, returns a XRViewerPose object which describes the viewer's pose (position and orientation) relative to the specified reference space.
|
XRSession |
session()
An XRFrame object's read-only session property returns the XRSession object that generated the frame.
|
@JsProperty(name="session") @Nonnull public XRSession session()
@Nullable public XRPose getPose(@Nonnull XRSpace space, @Nonnull XRSpace baseSpace)
@Nullable public XRViewerPose getViewerPose(@Nonnull XRReferenceSpace referenceSpace)