Click or drag to resize

Matrix4F Methods

The Matrix4F type exposes the following members.

Methods
 NameDescription
Public methodStatic memberAdd Adds two matricies.
Public methodStatic memberConstruct Constructs a matrix with the given rotation and translation components and returns the resulting Matrix4F.
Public methodDecompose(Vector3F, Matrix3F, Vector3F) Decomposes a matrix into a scale, rotation, and translation.
Public methodDecompose(Vector3F, QuaternionF, Vector3F) Decomposes a matrix into a scale, rotation, and translation.
Public methodDecomposeScale 
Public methodDecomposeScale(Vector3F) 
Public methodDecomposeScaleMaxComponent 
Public methodEquals(Object) Determines whether the specified object is equal to the current instance of Matrix4F.
(Overrides ValueTypeEquals(Object))
Public methodEquals(Matrix4F, Single) Determines whether the specified matrix is equal to the current instance of Matrix4F with a given precision.
Public methodStatic memberFromTranslate(Vector3F) Creates a translation matrix.
Public methodStatic memberFromTranslate(Vector3F, Matrix4F) Creates a translation matrix.
Public methodGetHashCode Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode)
Public methodGetInverse Inverts the current instance of Matrix4F if it is invertible and returns the result.
Public methodGetInverse(Matrix4F) Inverts the current instance of Matrix4F if it is invertible.
Public methodGetTrace Gets the trace of the matrix, the sum of the values along the diagonal.
Public methodGetTranslation Returns the translation of the current instance of Matrix4F.
Public methodGetTranslation(Vector3F) Returns the translation of the current instance of Matrix4F.
Public methodGetTranspose Returns the transpose of the current instance of Matrix4F.
Public methodGetTranspose(Matrix3x4F) Calculates the transpose of the current instance of Matrix4F.
Public methodGetTranspose(Matrix4F) Calculates the transpose of the current instance of Matrix4F.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInverse 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.
Public methodStatic memberLookAt(Vector3F, Vector3F, Vector3F) Creates a look-at matrix.
Public methodStatic memberLookAt(Vector3F, Vector3F, Vector3F, Matrix4F) Creates a look-at matrix.
Public methodStatic memberMultiply(Matrix4F, Matrix4F, Matrix4F) Multiplies two matrices.
Public methodStatic memberMultiply(Matrix4F, RayF, RayF) Translates the ray coordinates to the space defined by a matrix.
Public methodStatic memberMultiply(Matrix4F, Vector3F, Vector3F) Multiplies a matrix by a given Vector3F structure.
Public methodStatic memberMultiply(Matrix4F, Vector4F, Vector4F) Multiplies a matrix by a given Vector4F structure.
Public methodStatic memberMultiply(Matrix4F, Single, Matrix4F) Multiplies a matrix by a given value.
Public methodStatic memberMultiply(RayF, Matrix4F, RayF) Translates the ray coordinates to the space defined by a matrix.
Public methodStatic memberMultiply(Single, Matrix4F, Matrix4F) Multiplies a matrix by a given value.
Public methodStatic memberMultiply(Vector3F, Matrix4F, Vector3F) Multiplies a matrix by a given Vector3F structure.
Public methodStatic memberMultiply(Vector4F, Matrix4F, Vector4F) Multiplies a matrix by a given Vector4F structure.
Public methodStatic memberNegate Negates a matrix.
Public methodStatic memberParse Converts a string representation of a matrix into the equivalent Matrix4F structure.
Public methodStatic memberPerspective(Single, Single, Single, Single) Creates a perspective projection matrix.
Public methodStatic memberPerspective(Single, Single, Single, Single, Matrix4F) Creates a perspective projection matrix.
Public methodSetTranslation(Vector3F) Sets the translation of the current instance of Matrix4F.
Public methodSetTranslation(Vector3F) Sets the translation of the current instance of Matrix4F.
Public methodStatic memberSubtract Subtracts two matricies.
Public methodToMatrix3 Converts the current instance of Matrix4F into the equivalent Matrix3F structure.
Public methodToMatrix3(Matrix3F) Converts the current instance of Matrix4F into the equivalent Matrix3F structure.
Public methodToMatrix4 Converts the current instance of Matrix4F to the matrix of Matrix4 format.
Public methodToMatrix4(Matrix4) Converts the current instance of Matrix4F to the matrix of Matrix4 format.
Public methodToMatrix4H Converts the current instance of Matrix4F to the matrix of Matrix4H format.
Public methodToString Returns a String that represents the current instance of Matrix4F.
(Overrides ValueTypeToString)
Public methodTranspose Transposes the matrix.
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also