@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="XRFrame")
public class XRFrame
extends JsObject
| Modifier | Constructor and Description |
|---|---|
protected |
XRFrame() |
| Modifier and Type | Method and Description |
|---|---|
@JsNullable 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.
|
@JsNullable 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.
|
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="session") @Nonnull public XRSession session()
public @JsNullable XRPose getPose(@Nonnull XRSpace space, @Nonnull XRSpace baseSpace)
public @JsNullable XRViewerPose getViewerPose(@Nonnull XRReferenceSpace referenceSpace)