Matrix4F Structure |
Namespace: NeoAxis
public struct Matrix4F
The Matrix4F type exposes the following members.
| Name | Description | |
|---|---|---|
| Matrix4F(Single) |
Constructs a matrix with specified one-dimensional Single array with sixteen elements.
| |
| Matrix4F(Matrix4F) |
Constructs a matrix with another specified Matrix4F object.
| |
| Matrix4F(Matrix3F, Vector3F) |
Constructs a matrix with the given rotation and translation components.
| |
| Matrix4F(Matrix3F, Vector3F) |
Constructs a matrix with the given rotation and translation components.
| |
| Matrix4F(Vector4F, Vector4F, Vector4F, Vector4F) |
Constructs a matrix with the specified Vector4F elements,
which are the corresponding rows of the matrix.
| |
| Matrix4F(Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single) |
Constructs a matrix with the given individual elements.
|
| Name | Description | |
|---|---|---|
| ItemInt32 |
Gets or sets the row of the current instance of Matrix4F at the specified index.
| |
| ItemInt32, Int32 |
Gets or sets the component at the specified index.
|
| Name | Description | |
|---|---|---|
| Add |
Adds two matricies.
| |
| Construct |
Constructs a matrix with the given rotation and translation components and returns the resulting Matrix4F.
| |
| Decompose(Vector3F, Matrix3F, Vector3F) |
Decomposes a matrix into a scale, rotation, and translation.
| |
| Decompose(Vector3F, QuaternionF, Vector3F) |
Decomposes a matrix into a scale, rotation, and translation.
| |
| DecomposeScale | ||
| DecomposeScale(Vector3F) | ||
| DecomposeScaleMaxComponent | ||
| Equals(Object) |
Determines whether the specified object is equal to the current instance of Matrix4F.
(Overrides ValueTypeEquals(Object).) | |
| Equals(Matrix4F, Single) |
Determines whether the specified matrix is equal to the current instance of Matrix4F
with a given precision.
| |
| FromTranslate(Vector3F) |
Creates a translation matrix.
| |
| FromTranslate(Vector3F, Matrix4F) |
Creates a translation matrix.
| |
| GetHashCode |
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
| GetInverse |
Inverts the current instance of Matrix4F if it is invertible and returns the result.
| |
| GetInverse(Matrix4F) |
Inverts the current instance of Matrix4F if it is invertible.
| |
| GetTrace |
Gets the trace of the matrix, the sum of the values along the diagonal.
| |
| GetTranslation |
Returns the translation of the current instance of Matrix4F.
| |
| GetTranslation(Vector3F) |
Returns the translation of the current instance of Matrix4F.
| |
| GetTranspose |
Returns the transpose of the current instance of Matrix4F.
| |
| GetTranspose(Matrix3x4F) |
Calculates the transpose of the current instance of Matrix4F.
| |
| GetTranspose(Matrix4F) |
Calculates the transpose of the current instance of Matrix4F.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Inverse |
Inverts the current instance of Matrix4F and determines whether the matrix is invertible.
Determines whether the current instance of Matrix4F is invertible and, if so, inverts this matrix.
| |
| LookAt(Vector3F, Vector3F, Vector3F) |
Creates a look-at matrix.
| |
| LookAt(Vector3F, Vector3F, Vector3F, Matrix4F) |
Creates a look-at matrix.
| |
| Multiply(Single, Matrix4F, Matrix4F) |
Multiplies a matrix by a given value.
| |
| Multiply(Matrix4F, Matrix4F, Matrix4F) |
Multiplies two matrices.
| |
| Multiply(Matrix4F, RayF, RayF) |
Translates the ray coordinates to the space defined by a matrix.
| |
| Multiply(Matrix4F, Vector3F, Vector3F) |
Multiplies a matrix by a given Vector3F structure.
| |
| Multiply(Matrix4F, Vector4F, Vector4F) |
Multiplies a matrix by a given Vector4F structure.
| |
| Multiply(Matrix4F, Single, Matrix4F) |
Multiplies a matrix by a given value.
| |
| Multiply(RayF, Matrix4F, RayF) |
Translates the ray coordinates to the space defined by a matrix.
| |
| Multiply(Vector3F, Matrix4F, Vector3F) |
Multiplies a matrix by a given Vector3F structure.
| |
| Multiply(Vector4F, Matrix4F, Vector4F) |
Multiplies a matrix by a given Vector4F structure.
| |
| Negate |
Negates a matrix.
| |
| Parse |
Converts a string representation of a matrix into the equivalent Matrix4F structure.
| |
| Perspective(Single, Single, Single, Single) |
Creates a perspective projection matrix.
| |
| Perspective(Single, Single, Single, Single, Matrix4F) |
Creates a perspective projection matrix.
| |
| SetTranslation(Vector3F) |
Sets the translation of the current instance of Matrix4F.
| |
| SetTranslation(Vector3F) |
Sets the translation of the current instance of Matrix4F.
| |
| Subtract |
Subtracts two matricies.
| |
| ToMatrix3 |
Converts the current instance of Matrix4F into the equivalent Matrix3F structure.
| |
| ToMatrix3(Matrix3F) |
Converts the current instance of Matrix4F into the equivalent Matrix3F structure.
| |
| ToMatrix4 |
Converts the current instance of Matrix4F to the matrix of Matrix4 format.
| |
| ToMatrix4(Matrix4) |
Converts the current instance of Matrix4F to the matrix of Matrix4 format.
| |
| ToMatrix4H |
Converts the current instance of Matrix4F to the matrix of Matrix4H format.
| |
| ToString |
Returns a String that represents the current instance of Matrix4F.
(Overrides ValueTypeToString.) | |
| Transpose |
Transposes the matrix.
|
| Name | Description | |
|---|---|---|
| Addition |
Adds two matricies.
| |
| Equality |
Determines whether two given matricies are equal.
| |
| (Matrix4F to Matrix4) |
Implicit conversion from Matrix4F type to Matrix4 type for given value.
| |
| Inequality |
Determines whether two given matricies are unequal.
| |
| Multiply(Single, Matrix4F) |
Multiplies a matrix by a given value.
| |
| Multiply(Matrix4F, Matrix4F) |
Multiplies two matrices.
| |
| Multiply(Matrix4F, RayF) |
Translates the ray coordinates to the space defined by a matrix.
| |
| Multiply(Matrix4F, Vector3F) |
Multiplies a matrix by a given Vector3F structure.
| |
| Multiply(Matrix4F, Vector4F) |
Multiplies a matrix by a given Vector4F structure.
| |
| Multiply(Matrix4F, Single) |
Multiplies a matrix by a given value.
| |
| Multiply(RayF, Matrix4F) |
Translates the ray coordinates to the space defined by a matrix.
| |
| Multiply(Vector3F, Matrix4F) |
Multiplies a matrix by a given Vector3F structure.
| |
| Multiply(Vector4F, Matrix4F) |
Multiplies a matrix by a given Vector4F structure.
| |
| Subtraction |
Subtracts two matricies.
| |
| UnaryNegation |
Negates a matrix.
|
| Name | Description | |
|---|---|---|
| Identity |
The identity matrix.
| |
| Item0 |
The first row of the matrix.
| |
| Item1 |
The second row of the matrix.
| |
| Item2 |
The third row of the matrix.
| |
| Item3 |
The fourth row of the matrix.
| |
| Zero |
The matrix with all of its components set to zero.
|
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx.) | |
| PropertyGet(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
| PropertyGetT(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx.) |