Свойство | Type | Description | |
---|---|---|---|
Identity | |||
M11 | float | ||
M12 | float | ||
M21 | float | ||
M22 | float | ||
M31 | float | ||
M32 | float |
Méthode | Description | |
---|---|---|
Add ( |
Determines the sum of two matrices.
|
|
Add ( |
Determines the sum of two matrices.
|
|
Determinant ( ) : float |
Calculates the determinant of this matrix.
|
|
Divide ( |
Determines the quotient of two matrices.
|
|
Divide ( |
Scales a matrix by the given value.
|
|
Equals ( |
Determines whether the specified Matrix3x2 is equal to this instance.
|
|
Equals ( object value ) : bool |
Determines whether the specified System.Object is equal to this instance.
|
|
GetHashCode ( ) : int |
Returns a hash code for this instance.
|
|
Invert ( |
Calculates the inverse of the specified matrix.
|
|
Invert ( ) : void |
Calculates the inverse of this matrix instance.
|
|
Invert ( |
Calculates the inverse of the specified matrix.
|
|
Lerp ( |
Performs a linear interpolation between two matrices. Passing amount a value of 0 will cause start to be returned; a value of 1 will cause end to be returned. |
|
Lerp ( |
Performs a linear interpolation between two matrices. Passing amount a value of 0 will cause start to be returned; a value of 1 will cause end to be returned. |
|
Matrix3x2 ( float value ) : System |
Initializes a new instance of the Matrix3x2 struct.
|
|
Matrix3x2 ( float M11, float M12, float M21, float M22, float M31, float M32 ) : System |
Initializes a new instance of the Matrix3x2 struct.
|
|
Multiply ( |
Determines the product of two matrices.
|
|
Multiply ( |
Scales a matrix by the given value.
|
|
Multiply ( |
Determines the product of two matrices.
|
|
Multiply ( |
Scales a matrix by the given value.
|
|
Negate ( |
Negates a matrix.
|
|
Negate ( |
Negates a matrix.
|
|
Rotation ( float angle ) : |
Creates a matrix that rotates.
|
|
Rotation ( float angle, System.Vector2 center ) : |
Creates a matrix that rotates about a specified center.
|
|
Rotation ( float angle, |
Creates a matrix that rotates.
|
|
Rotation ( float angle, System.Vector2 center, |
Creates a matrix that rotates about a specified center.
|
|
Scaling ( System.Vector2 scale ) : |
Creates a matrix that scales along the x-axis and y-axis.
|
|
Scaling ( float scale ) : |
Creates a matrix that uniformly scales along both axes.
|
|
Scaling ( float x, float y ) : |
Creates a matrix that scales along the x-axis and y-axis.
|
|
Scaling ( float x, float y, System.Vector2 center ) : |
Creates a matrix that is scaling from a specified center.
|
|
Scaling ( System.Vector2 &scale, |
Creates a matrix that scales along the x-axis and y-axis.
|
|
Scaling ( float scale, |
Creates a matrix that uniformly scales along both axes.
|
|
Scaling ( float x, float y, |
Creates a matrix that scales along the x-axis and y-axis.
|
|
Scaling ( float x, float y, System.Vector2 ¢er, |
Creates a matrix that is scaling from a specified center.
|
|
Skew ( float angleX, float angleY ) : |
Creates a skew matrix.
|
|
Skew ( float angleX, float angleY, |
Creates a skew matrix.
|
|
SmoothStep ( |
Performs a cubic interpolation between two matrices.
|
|
SmoothStep ( |
Performs a cubic interpolation between two matrices.
|
|
Subtract ( |
Determines the difference between two matrices.
|
|
Subtract ( |
Determines the difference between two matrices.
|
|
ToArray ( ) : float[] |
Creates an array containing the elements of the matrix.
|
|
ToString ( ) : string |
Returns a System.String that represents this instance.
|
|
ToString ( IFormatProvider formatProvider ) : string |
Returns a System.String that represents this instance.
|
|
ToString ( string format ) : string |
Returns a System.String that represents this instance.
|
|
ToString ( string format, IFormatProvider formatProvider ) : string |
Returns a System.String that represents this instance.
|
|
TransformPoint ( |
Transforms a vector by this matrix.
|
|
TransformPoint ( |
Transforms a vector by this matrix.
|
|
Transformation ( float xScale, float yScale, float angle, float xOffset, float yOffset ) : |
Creates a transformation matrix.
|
|
Transformation ( float xScale, float yScale, float angle, float xOffset, float yOffset, |
Creates a transformation matrix.
|
|
Translation ( System.Vector2 value ) : |
Creates a translation matrix using the specified offsets.
|
|
Translation ( float x, float y ) : |
Creates a translation matrix using the specified offsets.
|
|
Translation ( System.Vector2 &value, |
Creates a translation matrix using the specified offsets.
|
|
Translation ( float x, float y, |
Creates a translation matrix using the specified offsets.
|
|
operator ( ) : |
Adds two matrices.
|
|
operator ( ) : bool |
Tests for equality between two objects.
|
|
this ( int index ) : float |
Gets or sets the component at the specified index.
|
|
this ( int row, int column ) : float |
Gets or sets the component at the specified index.
|
public static Add ( |
||
left | The first matrix to add. | |
right | The second matrix to add. | |
Résultat |
public static Add ( |
||
left | The first matrix to add. | |
right | The second matrix to add. | |
result | When the method completes, contains the sum of the two matrices. | |
Résultat | void |
public static Divide ( |
||
left | The first matrix to divide. | |
right | The second matrix to divide. | |
result | When the method completes, contains the quotient of the two matrices. | |
Résultat | void |
public static Divide ( |
||
left | The matrix to scale. | |
right | float | The amount by which to scale. |
result | When the method completes, contains the scaled matrix. | |
Résultat | void |
public Equals ( |
||
other | The |
|
Résultat | bool |
public Equals ( object value ) : bool | ||
value | object | The |
Résultat | bool |
public static Invert ( |
||
value | The matrix whose inverse is to be calculated. | |
Résultat |
public static Invert ( |
||
value | The matrix whose inverse is to be calculated. | |
result | When the method completes, contains the inverse of the specified matrix. | |
Résultat | void |
public static Lerp ( |
||
start | Start matrix. | |
end | End matrix. | |
amount | float | Value between 0 and 1 indicating the weight of |
Résultat |
public static Lerp ( |
||
start | Start matrix. | |
end | End matrix. | |
amount | float | Value between 0 and 1 indicating the weight of |
result | When the method completes, contains the linear interpolation of the two matrices. | |
Résultat | void |
public Matrix3x2 ( float value ) : System | ||
value | float | The value that will be assigned to all components. |
Résultat | System |
public Matrix3x2 ( float M11, float M12, float M21, float M22, float M31, float M32 ) : System | ||
M11 | float | The value to assign at row 1 column 1 of the matrix. |
M12 | float | The value to assign at row 1 column 2 of the matrix. |
M21 | float | The value to assign at row 2 column 1 of the matrix. |
M22 | float | The value to assign at row 2 column 2 of the matrix. |
M31 | float | The value to assign at row 3 column 1 of the matrix. |
M32 | float | The value to assign at row 3 column 2 of the matrix. |
Résultat | System |
public static Multiply ( |
||
left | The first matrix to multiply. | |
right | The second matrix to multiply. | |
Résultat |
public static Multiply ( |
||
left | The matrix to scale. | |
right | float | The amount by which to scale. |
Résultat |
public static Multiply ( |
||
left | The first matrix to multiply. | |
right | The second matrix to multiply. | |
result | The product of the two matrices. | |
Résultat | void |
public static Multiply ( |
||
left | The matrix to scale. | |
right | float | The amount by which to scale. |
result | When the method completes, contains the scaled matrix. | |
Résultat | void |
public static Negate ( |
||
value | The matrix to be negated. | |
Résultat |
public static Negate ( |
||
value | The matrix to be negated. | |
result | When the method completes, contains the negated matrix. | |
Résultat | void |
public static Rotation ( float angle ) : |
||
angle | float | Angle of rotation in radians. Angles are measured clockwise when looking along the rotation axis. |
Résultat |
public static Rotation ( float angle, System.Vector2 center ) : |
||
angle | float | Angle of rotation in radians. Angles are measured clockwise when looking along the rotation axis. |
center | System.Vector2 | The center of the rotation. |
Résultat |
public static Rotation ( float angle, |
||
angle | float | Angle of rotation in radians. Angles are measured clockwise when looking along the rotation axis. |
result | When the method completes, contains the created rotation matrix. | |
Résultat | void |
public static Rotation ( float angle, System.Vector2 center, |
||
angle | float | Angle of rotation in radians. Angles are measured clockwise when looking along the rotation axis. |
center | System.Vector2 | The center of the rotation. |
result | When the method completes, contains the created rotation matrix. | |
Résultat | void |
public static Scaling ( System.Vector2 scale ) : |
||
scale | System.Vector2 | Scaling factor for both axes. |
Résultat |
public static Scaling ( float scale ) : |
||
scale | float | The uniform scale that is applied along both axes. |
Résultat |
public static Scaling ( float x, float y ) : |
||
x | float | Scaling factor that is applied along the x-axis. |
y | float | Scaling factor that is applied along the y-axis. |
Résultat |
public static Scaling ( float x, float y, System.Vector2 center ) : |
||
x | float | Scaling factor that is applied along the x-axis. |
y | float | Scaling factor that is applied along the y-axis. |
center | System.Vector2 | The center of the scaling. |
Résultat |
public static Scaling ( System.Vector2 &scale, |
||
scale | System.Vector2 | Scaling factor for both axes. |
result | When the method completes, contains the created scaling matrix. | |
Résultat | void |
public static Scaling ( float scale, |
||
scale | float | The uniform scale that is applied along both axes. |
result | When the method completes, contains the created scaling matrix. | |
Résultat | void |
public static Scaling ( float x, float y, |
||
x | float | Scaling factor that is applied along the x-axis. |
y | float | Scaling factor that is applied along the y-axis. |
result | When the method completes, contains the created scaling matrix. | |
Résultat | void |
public static Scaling ( float x, float y, System.Vector2 ¢er, |
||
x | float | Scaling factor that is applied along the x-axis. |
y | float | Scaling factor that is applied along the y-axis. |
center | System.Vector2 | The center of the scaling. |
result | The created scaling matrix. | |
Résultat | void |
public static Skew ( float angleX, float angleY ) : |
||
angleX | float | Angle of skew along the X-axis in radians. |
angleY | float | Angle of skew along the Y-axis in radians. |
Résultat |
public static Skew ( float angleX, float angleY, |
||
angleX | float | Angle of skew along the X-axis in radians. |
angleY | float | Angle of skew along the Y-axis in radians. |
result | When the method completes, contains the created skew matrix. | |
Résultat | void |
public static SmoothStep ( |
||
start | Start matrix. | |
end | End matrix. | |
amount | float | Value between 0 and 1 indicating the weight of |
Résultat |
public static SmoothStep ( |
||
start | Start matrix. | |
end | End matrix. | |
amount | float | Value between 0 and 1 indicating the weight of |
result | When the method completes, contains the cubic interpolation of the two matrices. | |
Résultat | void |
public static Subtract ( |
||
left | The first matrix to subtract. | |
right | The second matrix to subtract. | |
Résultat |
public static Subtract ( |
||
left | The first matrix to subtract. | |
right | The second matrix to subtract. | |
result | When the method completes, contains the difference between the two matrices. | |
Résultat | void |
public ToString ( IFormatProvider formatProvider ) : string | ||
formatProvider | IFormatProvider | The format provider. |
Résultat | string |
public ToString ( string format ) : string | ||
format | string | The format. |
Résultat | string |
public ToString ( string format, IFormatProvider formatProvider ) : string | ||
format | string | The format. |
formatProvider | IFormatProvider | The format provider. |
Résultat | string |
public static TransformPoint ( |
||
matrix | The matrix to use as a transformation matrix. | |
point | System.Vector2 | The original vector to apply the transformation. |
Résultat | System.Vector2 |
public static TransformPoint ( |
||
matrix | The matrix to use as a transformation matrix. | |
point | System.Vector2 | The original vector to apply the transformation. |
result | System.Vector2 | The result of the transformation for the input vector. |
Résultat | void |
public static Transformation ( float xScale, float yScale, float angle, float xOffset, float yOffset ) : |
||
xScale | float | Scaling factor that is applied along the x-axis. |
yScale | float | Scaling factor that is applied along the y-axis. |
angle | float | Angle of rotation in radians. |
xOffset | float | X-coordinate offset. |
yOffset | float | Y-coordinate offset. |
Résultat |
public static Transformation ( float xScale, float yScale, float angle, float xOffset, float yOffset, |
||
xScale | float | Scaling factor that is applied along the x-axis. |
yScale | float | Scaling factor that is applied along the y-axis. |
angle | float | Angle of rotation in radians. Angles are measured clockwise when looking along the rotation axis. |
xOffset | float | X-coordinate offset. |
yOffset | float | Y-coordinate offset. |
result | When the method completes, contains the created transformation matrix. | |
Résultat | void |
public static Translation ( System.Vector2 value ) : |
||
value | System.Vector2 | The offset for both coordinate planes. |
Résultat |
public static Translation ( float x, float y ) : |
||
x | float | X-coordinate offset. |
y | float | Y-coordinate offset. |
Résultat |
public static Translation ( System.Vector2 &value, |
||
value | System.Vector2 | The offset for both coordinate planes. |
result | When the method completes, contains the created translation matrix. | |
Résultat | void |
public static Translation ( float x, float y, |
||
x | float | X-coordinate offset. |
y | float | Y-coordinate offset. |
result | When the method completes, contains the created translation matrix. | |
Résultat | void |
public this ( int index ) : float | ||
index | int | The zero-based index of the component to access. |
Résultat | float |
public this ( int row, int column ) : float | ||
row | int | The row of the matrix to access. |
column | int | The column of the matrix to access. |
Résultat | float |
public static Matrix3x2,Fusion.Core.Mathematics Identity | ||
Résultat |