Property | Type | Description | |
---|---|---|---|
Identity |
Method | Description | |
---|---|---|
ApplyTo ( Vector2 point ) : Vector2 |
Applies this matrix to a point.
|
|
ApplyTo ( Vector2 points ) : Vector2[] |
Applies this matrix to an array of vectors.
|
|
Invert ( ) : |
Returns the inverse matrix of this matrix.
|
|
Multiply ( |
Multiplies two matrices.
|
|
Rotation ( float angle ) : |
Creates a rotation matrix.
|
|
Scaling ( float factor ) : |
Creates a scaling matrix.
|
|
Scaling ( float factorX, float factorY ) : |
Creates a scaling matrix.
|
|
ShearingX ( float value ) : |
Creates a shearing matrix.
|
|
ShearingY ( float value ) : |
Creates a shearing matrix.
|
|
Translation ( Vector2 vector ) : |
Creates a translation matrix.
|
|
Translation ( float x, float y ) : |
Creates a translation matrix.
|
|
operator ( ) : |
Multiplies two matrices.
|
|
this ( int x, int y ) : float |
Returns or sets the matrix element at the given Position.
|
Method | Description | |
---|---|---|
Matrix2x3 ( ) : System |
Initializes a new Matrix2x3 class.
|
|
MultiplyRow ( int row, float factor ) : void |
Multiplies the rows.
|
|
SubtractRows ( int row1, int row2, float factor ) : void |
Subtracts the rows.
|
|
SwapRows ( ) : void |
Swaps the rows.
|
public ApplyTo ( Vector2 points ) : Vector2[] | ||
points | Vector2 | |
return | Vector2[] |
public static Multiply ( |
||
left | The left matrix. | |
right | The right matrix. | |
return |
public static Rotation ( float angle ) : |
||
angle | float | The Angle. |
return |
public static Scaling ( float factor ) : |
||
factor | float | The Factor. |
return |
public static Scaling ( float factorX, float factorY ) : |
||
factorX | float | The X Factor. |
factorY | float | The Y Factor. |
return |
public static ShearingX ( float value ) : |
||
value | float | The Value. |
return |
public static ShearingY ( float value ) : |
||
value | float | The Value. |
return |
public static Translation ( Vector2 vector ) : |
||
vector | Vector2 | The Vector. |
return |
public static Translation ( float x, float y ) : |
||
x | float | The X. |
y | float | The Y. |
return |