Matrix4 Structure
4x4 matrix implementation.

Namespace: Aspose.ThreeD.Utilities
Assembly: Aspose.3D (in Aspose.3D.dll) Version: 21.7.0.0 (21.7)
Syntax
public struct Matrix4

The Matrix4 type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyDeterminant
Gets the determinant of the matrix.
Public propertyStatic memberIdentity
Gets the identity matrix.
Methods
  NameDescription
Public methodConcatenate
Concatenates the two matrices
Public methodDecompose
Public methodEquals (Inherited from ValueType.)
Public methodGetHashCode (Inherited from ValueType.)
Public methodGetType (Inherited from Object.)
Public methodInverse
Inverses this instance.
Public methodNormalize
Normalizes this instance.
Public methodStatic memberRotate(Quaternion)
Create a rotation matrix from a quaternion
Public methodStatic memberRotate(Double, Vector3)
Create a rotation matrix by rotation angle and axis
Public methodStatic memberRotateFromEuler(Vector3)
Create a rotation matrix from Euler angle
Public methodStatic memberRotateFromEuler(Double, Double, Double)
Create a rotation matrix from Euler angle
Public methodStatic memberScale(Double)
Creates a matrix that scales along the x-axis, the y-axis and the z-axis.
Public methodStatic memberScale(Vector3)
Creates a matrix that scales along the x-axis, the y-axis and the z-axis.
Public methodStatic memberScale(Double, Double, Double)
Creates a matrix that scales along the x-axis, the y-axis and the z-axis.
Public methodSetTRS
Initializes the matrix with translation/rotation/scale
Public methodToArray
Converts matrix to array.
Public methodToString
Returns a String that represents the current Matrix4.
(Overrides ValueTypeToString.)
Public methodStatic memberTranslate(Vector3)
Creates a matrix that translates along the x-axis, the y-axis and the z-axis
Public methodStatic memberTranslate(Double, Double, Double)
Creates a matrix that translates along the x-axis, the y-axis and the z-axis
Public methodTranspose
Transposes this instance.
Operators
  NameDescription
Public operatorStatic memberMultiply(Matrix4, Matrix4)
Multiply the two matrices
Public operatorStatic memberMultiply(Matrix4, Vector3)
Multiply the matrix and vector3
Public operatorStatic memberMultiply(Matrix4, Vector4)
Multiply the matrix and vector4
Public operatorStatic memberMultiply(Matrix4, Double)
Multiply the matrix and double value
Fields
  NameDescription
Public fieldm00
The m00.
Public fieldm01
The m01.
Public fieldm02
The m02.
Public fieldm03
The m03.
Public fieldm10
The m10.
Public fieldm11
The m11.
Public fieldm12
The m12.
Public fieldm13
The m13.
Public fieldm20
The m20.
Public fieldm21
The m21.
Public fieldm22
The m22.
Public fieldm23
The m23.
Public fieldm30
The m30.
Public fieldm31
The m31.
Public fieldm32
The m32.
Public fieldm33
The m33.
See Also