Matrix4Extension extension

Extension methods for easier Matrix4 operations

on

Properties

scaleX double

Available on Matrix4, provided by the Matrix4Extension extension

Gets the scale X component
no setter
scaleY double

Available on Matrix4, provided by the Matrix4Extension extension

Gets the scale Y component
no setter
scaleZ double

Available on Matrix4, provided by the Matrix4Extension extension

Gets the scale Z component
no setter
translationX double

Available on Matrix4, provided by the Matrix4Extension extension

Gets the translation X component
no setter
translationY double

Available on Matrix4, provided by the Matrix4Extension extension

Gets the translation Y component
no setter
translationZ double

Available on Matrix4, provided by the Matrix4Extension extension

Gets the translation Z component
no setter

Methods

clone() Matrix4

Available on Matrix4, provided by the Matrix4Extension extension

Returns a copy of this matrix
rotateByX(double angle) Matrix4

Available on Matrix4, provided by the Matrix4Extension extension

Applies rotation around X axis
rotateByY(double angle) Matrix4

Available on Matrix4, provided by the Matrix4Extension extension

Applies rotation around Y axis
rotateByZ(double angle) Matrix4

Available on Matrix4, provided by the Matrix4Extension extension

Applies rotation around Z axis
scaleBy(double x, double y, double z) Matrix4

Available on Matrix4, provided by the Matrix4Extension extension

Applies scale to this matrix
setScale(double x, double y, double z) → void

Available on Matrix4, provided by the Matrix4Extension extension

Sets the scale component
setTranslation(double x, double y, double z) → void

Available on Matrix4, provided by the Matrix4Extension extension

Sets the translation component
translateBy(double x, double y, double z) Matrix4

Available on Matrix4, provided by the Matrix4Extension extension

Applies translation to this matrix