Matrix4Extension extension

on

Properties

m11 double
A first row and first column value.
no setter
m12 double
A first row and second column value.
no setter
m13 double
A first row and third column value.
no setter
m14 double
A first row and fourth column value.
no setter
m21 double
A second row and first column value.
no setter
m22 double
A second row and second column value.
no setter
m23 double
A second row and third column value.
no setter
m24 double
A second row and fourth column value.
no setter
m31 double
A third row and first column value.
no setter
m32 double
A third row and second column value.
no setter
m33 double
A third row and third column value.
no setter
m34 double
A third row and fourth column value.
no setter
m41 double
A fourth row and first column value.
no setter
m42 double
A fourth row and second column value.
no setter
m43 double
A fourth row and third column value.
no setter
m44 double
A fourth row and fourth column value.
no setter

Methods

transform2(Vector2 position) Vector2
Transform position of type Vector2 using the transformation defined by this.
transformed2(Vector2 position, [Vector2? out]) Vector2
Transform a copy of position of type Vector2 using the transformation defined by this. If a out parameter is supplied, the copy is stored in out.
translate2(Vector2 vector) → void
Translate this matrix by a Vector2.

Static Methods

scale(dynamic x, [double? y, double? z]) Matrix4
Create a scaled matrix.