Click or drag to resize
Accord.NET (logo)

Matrix4x4 Methods

The Matrix4x4 type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAdd
Adds corresponding components of two matrices.
Public methodStatic memberCreateDiagonal
Creates a diagonal matrix using the specified vector as diagonal elements.
Public methodStatic memberCreateFromColumns
Creates a matrix from 4 columns specified as vectors.
Public methodStatic memberCreateFromRotation
Creates 4x4 tranformation matrix from 3x3 rotation matrix.
Public methodStatic memberCreateFromRows
Creates a matrix from 4 rows specified as vectors.
Public methodStatic memberCreateFromYawPitchRoll
Creates rotation matrix to rotate an object around X, Y and Z axes.
Public methodStatic memberCreateLookAt
Creates a view matrix for the specified camera position and target point.
Public methodStatic memberCreatePerspective
Creates a perspective projection matrix.
Public methodStatic memberCreateRotationX
Creates rotation matrix around X axis.
Public methodStatic memberCreateRotationY
Creates rotation matrix around Y axis.
Public methodStatic memberCreateRotationZ
Creates rotation matrix around Z axis.
Public methodStatic memberCreateTranslation
Creates translation matrix for the specified movement amount.
Public methodEquals(Object)
Tests whether the matrix equals to the specified object.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Matrix4x4)
Tests whether the matrix equals to the specified one.
Public methodExtractYawPitchRoll
Extract rotation angles from the rotation matrix.
Public methodGetColumn
Get column of the matrix.
Public methodGetHashCode
Returns the hashcode for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetRow
Get row of the matrix.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberMultiply(Matrix4x4, Matrix4x4)
Multiplies two specified matrices.
Public methodStatic memberMultiply(Matrix4x4, Vector4)
Multiplies specified matrix by the specified vector.
Public methodStatic memberSubtract
Subtracts corresponding components of two matrices.
Public methodToArray
Returns array representation of the matrix.
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodTo(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.)
Public Extension MethodToTOverloaded.
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.)
Top
See Also