The CSSPerspective interface of the CSS Typed Object Model API represents the perspective() value of the individual transform property in CSS.
CSSPerspective
MDN Reference
The is2D read-only property of the CSSTransformComponent interface indicates where the transform is 2D or 3D.
is2D
The length property of the CSSPerspective interface sets the distance from z=0.
length
The toMatrix() method of the CSSTransformComponent interface returns a DOMMatrix object.
toMatrix()