Matrix4x4 Methods |
The Matrix4x4 type exposes the following members.
Name | Description | |
---|---|---|
Add |
Adds corresponding components of two matrices.
| |
CreateDiagonal |
Creates a diagonal matrix using the specified vector as diagonal elements.
| |
CreateFromColumns |
Creates a matrix from 4 columns specified as vectors.
| |
CreateFromRotation |
Creates 4x4 tranformation matrix from 3x3 rotation matrix.
| |
CreateFromRows |
Creates a matrix from 4 rows specified as vectors.
| |
CreateFromYawPitchRoll |
Creates rotation matrix to rotate an object around X, Y and Z axes.
| |
CreateLookAt |
Creates a view matrix for the specified camera position and target point.
| |
CreatePerspective |
Creates a perspective projection matrix.
| |
CreateRotationX |
Creates rotation matrix around X axis.
| |
CreateRotationY |
Creates rotation matrix around Y axis.
| |
CreateRotationZ |
Creates rotation matrix around Z axis.
| |
CreateTranslation |
Creates translation matrix for the specified movement amount.
| |
Equals(Object) |
Tests whether the matrix equals to the specified object.
(Overrides ValueTypeEquals(Object).) | |
Equals(Matrix4x4) |
Tests whether the matrix equals to the specified one.
| |
ExtractYawPitchRoll |
Extract rotation angles from the rotation matrix.
| |
GetColumn |
Get column of the matrix.
| |
GetHashCode |
Returns the hashcode for this instance.
(Overrides ValueTypeGetHashCode.) | |
GetRow |
Get row of the matrix.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Multiply(Matrix4x4, Matrix4x4) |
Multiplies two specified matrices.
| |
Multiply(Matrix4x4, Vector4) |
Multiplies specified matrix by the specified vector.
| |
Subtract |
Subtracts corresponding components of two matrices.
| |
ToArray |
Returns array representation of the matrix.
| |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Name | Description | |
---|---|---|
HasMethod |
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.) | |
IsEqual |
Compares two objects for equality, performing an elementwise
comparison if the elements are vectors or matrices.
(Defined by Matrix.) | |
To(Type) | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) | |
ToT | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) |