Property | Type | Description | |
---|---|---|---|
m00 | Real | ||
m10 | Real | ||
m20 | Real | ||
m30 | Real |
Method | Description | |
---|---|---|
Add ( |
Used to add two matrices together.
|
|
Compose ( Vector3 translation, Vector3 scale, |
Creates a translation Matrix
|
|
ComposeInverse ( Vector3 translation, Vector3 scale, |
Creates an inverse translation Matrix
|
|
Decompose ( Vector3 &translation, Vector3 &scale, |
Decompose the matrix.
|
|
Equals ( object obj ) : bool |
Compares this Matrix to another object. This should be done because the equality operators (==, !=) have been overriden by this class.
|
|
ExtractRotation ( ) : Axiom.Math.Matrix3 |
Extract the 3x3 matrix representing the current rotation.
|
|
ExtractScale ( ) : Vector3 |
Extract scaling information.
|
|
FromMatrix3 ( Axiom.Math.Matrix3 right ) : |
Used to allow assignment from a Matrix3 to a Matrix4 object.
|
|
GetHashCode ( ) : int |
Provides a unique hash code based on the member variables of this class. This should be done because the equality operators (==, !=) have been overriden by this class. The standard implementation is a simple XOR operation between all local member variables.
|
|
GetMatrix3 ( ) : Axiom.Math.Matrix3 |
Returns a 3x3 portion of this 4x4 matrix.
|
|
Inverse ( ) : |
Returns an inverted matrix.
|
|
InverseAffine ( ) : |
Returns an inverted affine matrix.
|
|
MakeFloatArray ( float floats ) : void | ||
MakeRealArray ( Real reals ) : void |
|
|
Matrix4 ( Real m00, Real m01, Real m02, Real m03, Real m10, Real m11, Real m12, Real m13, Real m20, Real m21, Real m22, Real m23, Real m30, Real m31, Real m32, Real m33 ) : System |
Creates a new Matrix4 with all the specified parameters.
|
|
Multiply ( |
Used to multiply (concatenate) two 4x4 Matrices.
|
|
Multiply ( |
Transforms a plane using the specified transform.
|
|
Multiply ( |
Transforms the given 3-D vector by the matrix, projecting the result back into w = 1. This means that the initial w is considered to be 1.0, and then all the tree elements of the resulting 3-D vector are divided by the resulting w.
|
|
Subtract ( |
Used to subtract two matrices.
|
|
ToString ( ) : string |
Overrides the Object.ToString() method to provide a text representation of a Matrix4.
|
|
TransformAffine ( Vector3 v ) : Vector3 |
3-D Vector transformation specially for affine matrix. Transforms the given 3-D vector by the matrix, projecting the result back into w = 1. The matrix must be an affine matrix. Matrix4.IsAffine. |
|
TransformAffine ( Vector4 v ) : Vector4 |
4-D Vector transformation specially for affine matrix. The matrix must be an affine matrix. Matrix4.IsAffine. |
|
Transpose ( ) : |
Swap the rows of the matrix with the columns.
|
|
operator ( ) : |
Used to multiply (concatenate) two 4x4 Matrices.
|
|
operator ( ) : |
Used to multiply a transformation to a Plane.
|
|
operator ( ) : Vector3 |
Transforms the given 3-D vector by the matrix, projecting the result back into w = 1. This means that the initial w is considered to be 1.0, and then all the tree elements of the resulting 3-D vector are divided by the resulting w.
|
|
operator ( ) : bool |
Compares two Matrix4 instances for equality.
|
|
this ( int index ) : Real |
Allows the Matrix to be accessed linearly (m[0] -> m[15]). This indexer is only provided as a convenience, and is not recommended for use in intensive applications. |
|
this ( int row, int col ) : Real |
Allows the Matrix to be accessed like a 2d array (i.e. matrix[2,3]) This indexer is only provided as a convenience, and is not recommended for use in intensive applications. |
Method | Description | |
---|---|---|
Adjoint ( ) : |
Used to generate the adjoint of this matrix.
|
public static Add ( |
||
left | ||
right | ||
return |
public static Compose ( Vector3 translation, Vector3 scale, |
||
translation | Vector3 | |
scale | Vector3 | |
orientation | ||
return |
public static ComposeInverse ( Vector3 translation, Vector3 scale, |
||
translation | Vector3 | |
scale | Vector3 | |
orientation | ||
return |
public Decompose ( Vector3 &translation, Vector3 &scale, |
||
translation | Vector3 | |
scale | Vector3 | |
orientation | ||
return | void |
public ExtractRotation ( ) : Axiom.Math.Matrix3 | ||
return | Axiom.Math.Matrix3 |
public static FromMatrix3 ( Axiom.Math.Matrix3 right ) : |
||
right | Axiom.Math.Matrix3 | |
return |
public MakeFloatArray ( float floats ) : void | ||
floats | float | |
return | void |
public Matrix4 ( Real m00, Real m01, Real m02, Real m03, Real m10, Real m11, Real m12, Real m13, Real m20, Real m21, Real m22, Real m23, Real m30, Real m31, Real m32, Real m33 ) : System | ||
m00 | Real | |
m01 | Real | |
m02 | Real | |
m03 | Real | |
m10 | Real | |
m11 | Real | |
m12 | Real | |
m13 | Real | |
m20 | Real | |
m21 | Real | |
m22 | Real | |
m23 | Real | |
m30 | Real | |
m31 | Real | |
m32 | Real | |
m33 | Real | |
return | System |
public static Multiply ( |
||
left | ||
right | ||
return |
public static Multiply ( |
||
matrix | Transformation matrix. | |
plane | Plane to transform. | |
return |
public static Multiply ( |
||
matrix | A Matrix4. | |
vector | Vector3 | A Vector3. |
return | Vector3 |
public static Subtract ( |
||
left | ||
right | ||
return |
public TransformAffine ( Vector3 v ) : Vector3 | ||
v | Vector3 | |
return | Vector3 |
public TransformAffine ( Vector4 v ) : Vector4 | ||
v | Vector4 | |
return | Vector4 |