Constructors

Properties

ww: number

ww component of the matrix.

wx: number

wx component of the matrix.

wy: number

wy component of the matrix.

wz: number

wz component of the matrix.

xw: number

xw component of the matrix.

xx: number

xx component of the matrix.

xy: number

xy component of the matrix.

xz: number

xz component of the matrix.

yw: number

yw component of the matrix.

yx: number

yx component of the matrix.

yy: number

yy component of the matrix.

yz: number

yz component of the matrix.

zw: number

zw component of the matrix.

zx: number

zx component of the matrix.

zy: number

zy component of the matrix.

zz: number

zz component of the matrix.

Methods

  • Create a full transform matrix from the rotation, scaling and translation params.

    Parameters

    • rotateX: number

      The rotation angle around the x axis.

    • rotateY: number

      The rotation angle around the y axis.

    • rotateZ: number

      The rotation angle around the z axis.

    • scaleX: number

      The x scaling factor.

    • scaleY: number

      The y scaling factor.

    • scaleZ: number

      The z scaling factor.

    • translateX: number

      The x translation amount.

    • translateY: number

      The y translation amount.

    • translateZ: number

      The z translation amount.

    Returns Matrix4x4

    Matrix4x4

  • Create the translation matrix from the given x-, y- and z- translation amounts (use 0.0 for no translation).

    Parameters

    • translateX: number

      The x translation amount.

    • translateY: number

      The y translation amount.

    • translateZ: number

      The z translation amount.

    Returns Matrix4x4

    Matrix4x4