orientation property

DOMPointReadOnly get orientation

The read-only XRRigidTransform property orientation is a DOMPointReadOnly containing a normalized (also called a unit quaternion or versor) specifying the rotational component of the transform represented by the object. If you specify a quaternion whose length is not exactly 1.0 meters, it will be normalized for you.

Implementation

external DOMPointReadOnly get orientation;