matrix property

JSFloat32Array get matrix

The read-only XRRigidTransform property matrix returns the transform matrix represented by the object. The returned matrix can then be premultiplied with a column vector to rotate the vector by the 3D rotation specified by the XRRigidTransform.orientation, then translate it by the XRRigidTransform.position.

Implementation

external JSFloat32Array get matrix;