XRRigidTransform is a WebXR API interface that represents 3D geometric transform described by a position and orientation.
DOMPointReadonly3-dimensional point, expressed in meters, describing the translation component of the transform. The
wattribute is always
DOMPointReadonlyquaternion describing the rotational component of the transform. The quaternion is always normalized to have a length of
- Returns the transform expressed as
- Returns a
XRRigidTransformwhich is the inverse of this transform. That is, if applied to an object that had been previously transformed by the original transform, it will undo the transform and return the original object.
|WebXR Device API
The definition of 'XRRigidTransform' in that specification.
|Working Draft||Initial definition.|