|
float[] | ToArray3x3 (float[] output) |
| Copy this matrix to the specified array of 9 float values in row-major order. More...
|
|
double[] | ToArray3x3 (double[] output) |
| Copy this matrix to the specified array containing 9 double values in row-major order. More...
|
|
float[] | ToArray3x3 () |
| Convert this matrix to an array containing 9 float values in row-major order. More...
|
|
float[] | ToArray4x4 (float[] output) |
| Copy this matrix to the specified array of 16 float values in row-major order. More...
|
|
double[] | ToArray4x4 (double[] output) |
| Copy this matrix to the specified array of 16 double values in row-major order. More...
|
|
float[] | ToArray4x4 () |
| Convert this matrix to an array containing 16 float values in row-major order. More...
|
|
| Matrix (Matrix other) |
| Constructs a copy of the specified Matrix object. More...
|
|
| Matrix (Vector xBasis, Vector yBasis, Vector zBasis) |
| Constructs a transformation matrix from the specified basis vectors. More...
|
|
| Matrix (Vector xBasis, Vector yBasis, Vector zBasis, Vector origin) |
| Constructs a transformation matrix from the specified basis and translation vectors. More...
|
|
| Matrix (Vector axis, float angleRadians) |
| Constructs a transformation matrix specifying a rotation around the specified vector. More...
|
|
| Matrix (Vector axis, float angleRadians, Vector translation) |
| Constructs a transformation matrix specifying a rotation around the specified vector and a translation by the specified vector. More...
|
|
| Matrix (float m00, float m01, float m02, float m10, float m11, float m12, float m20, float m21, float m22) |
|
| Matrix (float m00, float m01, float m02, float m10, float m11, float m12, float m20, float m21, float m22, float m30, float m31, float m32) |
|
void | SetRotation (Vector axis, float angleRadians) |
| Sets this transformation matrix to represent a rotation around the specified vector. More...
|
|
Vector | TransformPoint (Vector point) |
| Transforms a vector with this matrix by transforming its rotation, scale, and translation. More...
|
|
Vector | TransformDirection (Vector direction) |
| Transforms a vector with this matrix by transforming its rotation and scale only. More...
|
|
Matrix | RigidInverse () |
| Performs a matrix inverse if the matrix consists entirely of rigid transformations (translations and rotations). If the matrix is not rigid, this operation will not represent an inverse. More...
|
|
bool | Equals (Matrix other) |
| Compare Matrix equality component-wise. More...
|
|
override string | ToString () |
| Write the matrix to a string in a human readable format. More...
|
|
The Matrix struct represents a transformation matrix.
To use this struct to transform a Vector, construct a matrix containing the desired transformation and then use the Matrix::transformPoint() or Matrix.TransformDirection() functions to apply the transform.
Transforms can be combined by multiplying two or more transform matrices using the * operator.
- Since
- 1.0
Definition at line 23 of file Matrix.cs.