@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="XRRigidTransform")
public class XRRigidTransform
extends java.lang.Object
| Constructor and Description |
|---|
XRRigidTransform()
The XRRigidTransform() constructor creates and returns a new XRRigidTransform object, representing the position and orientation of a point or object.
|
XRRigidTransform(DOMPointInit position)
The XRRigidTransform() constructor creates and returns a new XRRigidTransform object, representing the position and orientation of a point or object.
|
XRRigidTransform(DOMPointInit position,
DOMPointInit orientation)
The XRRigidTransform() constructor creates and returns a new XRRigidTransform object, representing the position and orientation of a point or object.
|
| Modifier and Type | Method and Description |
|---|---|
XRRigidTransform |
inverse()
The read-only inverse property of the XRRigidTransform interface returns another XRRigidTransform object which is the inverse of its owning transform.
|
Float32Array |
matrix()
The read-only XRRigidTransform property matrix returns the transform matrix represented by the object.
|
DOMPointReadOnly |
orientation()
The read-only XRRigidTransform property orientation is a DOMPointReadOnly containing a normalized quaternion (also called a unit quaternion or versor) specifying the rotational component of the transform represented by the object.
|
DOMPointReadOnly |
position()
The read-only XRRigidTransform property position is a DOMPointReadOnly object which provides the 3D point, specified in meters, describing the translation component of the transform.
|
public XRRigidTransform(@Nonnull
DOMPointInit position,
@Nonnull
DOMPointInit orientation)
public XRRigidTransform(@Nonnull
DOMPointInit position)
public XRRigidTransform()
@JsProperty(name="inverse") @Nonnull public XRRigidTransform inverse()
@JsProperty(name="matrix") @Nonnull public Float32Array matrix()
@JsProperty(name="orientation") @Nonnull public DOMPointReadOnly orientation()
@JsProperty(name="position") @Nonnull public DOMPointReadOnly position()