Struct Double4x4
Represents a 4x4 mathematical matrix using double-precision floating-point values.
Assembly: FlaxEngine.dll
File: Engine/Core/Math/Double4x4.h
Syntax
public struct Double4x4
Constructors
Double4x4()
Empty constructor.
Declaration
public Double4x4() = default
Double4x4(const Matrix& matrix)
Double4x4(double m11, double m12, double m13, double m14, double m21, double m22, double m23, double m24, double m31, double m32, double m33, double m34, double m41, double m42, double m43, double m44)
Initializes a new instance of the Matrix struct.
Declaration
public Double4x4(double m11, double m12, double m13, double m14, double m21, double m22, double m23, double m24, double m31, double m32, double m33, double m34, double m41, double m42, double m43, double m44)
Parameters
|
double
m11
|
|
double
m12
|
|
double
m13
|
|
double
m14
|
|
double
m21
|
|
double
m22
|
|
double
m23
|
|
double
m24
|
|
double
m31
|
|
double
m32
|
|
double
m33
|
|
double
m34
|
|
double
m41
|
|
double
m42
|
|
double
m43
|
|
double
m44
|
Fields
Identity
M11
Value at row 1 column 1 of the matrix.
Declaration
public double M11
Field Value
|
double
|
M12
Value at row 1 column 2 of the matrix.
Declaration
public double M12
Field Value
|
double
|
M13
Value at row 1 column 3 of the matrix.
Declaration
public double M13
Field Value
|
double
|
M14
Value at row 1 column 4 of the matrix.
Declaration
public double M14
Field Value
|
double
|
M21
Value at row 2 column 1 of the matrix.
Declaration
public double M21
Field Value
|
double
|
M22
Value at row 2 column 2 of the matrix.
Declaration
public double M22
Field Value
|
double
|
M23
Value at row 2 column 3 of the matrix.
Declaration
public double M23
Field Value
|
double
|
M24
Value at row 2 column 4 of the matrix.
Declaration
public double M24
Field Value
|
double
|
M31
Value at row 3 column 1 of the matrix.
Declaration
public double M31
Field Value
|
double
|
M32
Value at row 3 column 2 of the matrix.
Declaration
public double M32
Field Value
|
double
|
M33
Value at row 3 column 3 of the matrix.
Declaration
public double M33
Field Value
|
double
|
M34
Value at row 3 column 4 of the matrix.
Declaration
public double M34
Field Value
|
double
|
M41
Value at row 4 column 1 of the matrix.
Declaration
public double M41
Field Value
|
double
|
M42
Value at row 4 column 2 of the matrix.
Declaration
public double M42
Field Value
|
double
|
M43
Value at row 4 column 3 of the matrix.
Declaration
public double M43
Field Value
|
double
|
M44
Value at row 4 column 4 of the matrix.
Declaration
public double M44
Field Value
|
double
|
Raw
Declaration
public double Raw[16]
Field Value
|
double
|
Values
Declaration
public double Values[4][4]
Field Value
|
double
|
Zero
A matrix with all of its components set to zero.
Declaration
public static Double4x4 Zero
Field Value
|
Double4x4
|
Methods
Invert()
Declaration
public void Invert()
Invert(const Double4x4& value)
Declaration
public static Double4x4 Invert(const Double4x4& value)
Parameters
|
Double4x4
value
|
Returns
|
Double4x4
|
Invert(const Double4x4& value, Double4x4& result)
Declaration
public static void Invert(const Double4x4& value, Double4x4& result)
Parameters
|
Double4x4
value
|
|
Double4x4
result
|
LookAt(const Double3& eye, const Double3& target, const Double3& up, Double4x4& result)
Declaration
public static void LookAt(const Double3& eye, const Double3& target, const Double3& up, Double4x4& result)
Parameters
|
Double3
eye
|
|
Double3
target
|
|
Double3
up
|
|
Double4x4
result
|
Multiply(const Double4x4& left, const Double4x4& right, Double4x4& result)
Declaration
public static void Multiply(const Double4x4& left, const Double4x4& right, Double4x4& result)
Parameters
|
Double4x4
left
|
|
Double4x4
right
|
|
Double4x4
result
|
operator*(const Double4x4& other)
Declaration
public Double4x4 operator*(const Double4x4& other) const
Parameters
|
Double4x4
other
|
Returns
|
Double4x4
|
Transformation(const Float3& scaling, const Quaternion& rotation, const Vector3& translation, Double4x4& result)
Declaration
public static void Transformation(const Float3& scaling, const Quaternion& rotation, const Vector3& translation, Double4x4& result)
Parameters
|
Float3
scaling
|
|
Quaternion
rotation
|
|
Vector3
translation
|
|
Double4x4
result
|