Struct Matrix4x4Double

Matrix4x4Double structure

public struct Matrix4x4Double : IEquatable<Matrix4x4Double>

Constructors

NameDescription
Matrix4x4Double(Matrix4x4)
Matrix4x4Double(double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double)Constructs a Matrix4x4 from the given components.

Properties

NameDescription
static Identity { get; }Returns the multiplicative identity matrix.
Translation { get; set; }Gets or sets the translation component of this matrix.

Methods

NameDescription
static CreateFromQuaternion(Quaternion)Creates a rotation matrix from the given Quaternion rotation value.
static CreateScale(double, double, double)Creates a scaling matrix.
static CreateTranslation(double, double, double)Creates a translation matrix.
static Multiply(Matrix4x4Double, Matrix4x4Double)Multiplies a matrix by another matrix.
Equals(Matrix4x4Double)Returns a boolean indicating whether this matrix instance is equal to the other given matrix.
override Equals(object)Returns a boolean indicating whether the given Object is equal to this matrix instance.
override GetHashCode()Returns the hash code for this instance.
static Invert(Matrix4x4Double, out Matrix4x4Double)Attempts to calculate the inverse of the given matrix. If successful, result will contain the inverted matrix.
operator ==Returns a boolean indicating whether the given two matrices are equal.
explicit operatorConverts a Matrix4x4Double to a Matrix4x4
implicit operatorconverts from Matrix4x4 to Matrix4x4Double
operator !=Returns a boolean indicating whether the given two matrices are not equal.
operator *Multiplies a matrix by another matrix.

Fields

NameDescription
M11Value at row 1, column 1 of the matrix.
M12Value at row 1, column 2 of the matrix.
M13Value at row 1, column 3 of the matrix.
M14Value at row 1, column 4 of the matrix.
M21Value at row 2, column 1 of the matrix.
M22Value at row 2, column 2 of the matrix.
M23Value at row 2, column 3 of the matrix.
M24Value at row 2, column 4 of the matrix.
M31Value at row 3, column 1 of the matrix.
M32Value at row 3, column 2 of the matrix.
M33Value at row 3, column 3 of the matrix.
M34Value at row 3, column 4 of the matrix.
M41Value at row 4, column 1 of the matrix.
M42Value at row 4, column 2 of the matrix.
M43Value at row 4, column 3 of the matrix.
M44Value at row 4, column 4 of the matrix.

See Also