Public Member Functions | |
Matrix3 (float m00, float m01, float m02, float m10, float m11, float m12, float m20, float m21, float m22) | |
Matrix3 (Vector3 xAxis, Vector3 yAxis, Vector3 zAxis) | |
Matrix3 | Transpose () |
Vector3 | GetColumn (int col) |
void | SetColumn (int col, Vector3 vector) |
void | FromAxes (Vector3 xAxis, Vector3 yAxis, Vector3 zAxis) |
void | FromEulerAnglesXYZ (float yaw, float pitch, float roll) |
void | RotateX (float angle) |
void | RotateY (float angle) |
void | RotateAngleAxis (float angle, Vector3 axis) |
override string | ToString () |
override int | GetHashCode () |
override bool | Equals (object obj) |
Static Public Member Functions | |
Matrix3 | Multiply (Matrix3 left, Matrix3 right) |
Matrix3 | operator * (Matrix3 left, Matrix3 right) |
Vector3 | Multiply (Vector3 vector, Matrix3 matrix) |
Vector3 | operator * (Vector3 vector, Matrix3 matrix) |
Vector3 | Multiply (Matrix3 matrix, Vector3 vector) |
Vector3 | operator * (Matrix3 matrix, Vector3 vector) |
Matrix3 | Multiply (Matrix3 matrix, float scalar) |
Matrix3 | operator * (Matrix3 matrix, float scalar) |
Matrix3 | Multiply (float scalar, Matrix3 matrix) |
Matrix3 | operator * (float scalar, Matrix3 matrix) |
Matrix3 | Add (Matrix3 left, Matrix3 right) |
Matrix3 | operator+ (Matrix3 left, Matrix3 right) |
Matrix3 | Subtract (Matrix3 left, Matrix3 right) |
Matrix3 | operator- (Matrix3 left, Matrix3 right) |
Matrix3 | Negate (Matrix3 matrix) |
Matrix3 | operator- (Matrix3 matrix) |
bool | operator== (Matrix3 left, Matrix3 right) |
bool | operator!= (Matrix3 left, Matrix3 right) |
Public Attributes | |
float | m00 |
float | m01 |
float | m02 |
float | m10 |
float | m11 |
float | m12 |
float | m20 |
float | m21 |
float | m22 |
Properties | |
Matrix3 | Identity |
Matrix3 | Zero |
float | this [int row, int col] |
float | Determinant |
|
Creates a new Matrix3 with all the specified parameters. |
|
Create a new Matrix from 3 Vertex3 objects. |
|
Used to add two matrices together. |
|
Compares this Matrix to another object. This should be done because the equality operators (==, !=) have been overriden by this class. |
|
Creates a Matrix3 from 3 axes. |
|
Constructs this Matrix from 3 euler angles, in degrees. |
|
Gets a matrix column by index. A Vector3 representing one of the Matrix columns. |
|
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. <p/> The standard implementation is a simple XOR operation between all local member variables. |
|
Multiplies all the items in the Matrix3 by a scalar value. |
|
Multiplies all the items in the Matrix3 by a scalar value. |
|
matrix * vector [3x3 * 3x1 = 3x1] |
|
vector * matrix [1x3 * 3x3 = 1x3] |
|
Multiply (concatenate) two Matrix3 instances together. |
|
Negates all the items in the Matrix. |
|
Multiplies all the items in the Matrix3 by a scalar value. |
|
Multiplies all the items in the Matrix3 by a scalar value. |
|
matrix * vector [3x3 * 3x1 = 3x1] |
|
vector * matrix [1x3 * 3x3 = 1x3] |
|
Multiply (concatenate) two Matrix3 instances together. |
|
Used to add two matrices together. |
|
Negates all the items in the Matrix. |
|
Used to subtract two matrices. |
|
Test two matrices for (value) equality |
|
Rotates around a given axis. The angle to rotate. The axis to rotate around. |
|
Rotates around the x axis. The angle to rotate. |
|
Rotates around the y axis. The angle to rotate. |
|
Sets one of the columns of the Matrix with a Vector3. |
|
Used to subtract two matrices. |
|
Overrides the Object.ToString() method to provide a text representation of a Matrix4. A string representation of a vector3. |
|
Swap the rows of the matrix with the columns. A transposed Matrix. |
|
|
|
|
|
|
|
Identity Matrix |
|
Indexer for accessing the matrix like a 2d array (i.e. matrix[2,3]). |
|
Zero matrix. |