Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Math/Matrix.h |
Include |
#include "Math/Matrix.h" |
struct FMatrix
4x4 matrix of floating point values. Matrix-matrix multiplication happens with a pre-multiple of the transpose in other words, Res = Mat1.operator*(Mat2) means Res = Mat2^T * Mat1, as opposed to Res = Mat1 * Mat2. Matrix elements are accessed with M[RowIndex][ColumnIndex].
Name | Description | ||
---|---|---|---|
|
union FMatrix::... |
@231 |
|
|
float[4][4] |
M |
Name | Description | ||
---|---|---|---|
|
ApplyScale ( |
Apply Scale to this matrix |
|
|
ComputeHash() |
For debugging purpose, could be changed |
|
|
ConcatTranslation ( |
Returns a matrix with an additional translation concatenated. |
|
|
ContainsNaN() |
Returns true if any element of this matrix is NaN |
|
|
DebugPrint() |
Output ToString |
|
|
float |
Determinant() |
|
|
Equals ( |
Error-tolerant comparison. |
|
|
ExtractScaling ( |
Remove any scaling from this matrix (ie magnitude of each row is 1) and return the 3D scale vector that was initially present with error Tolerance |
|
|
GetColumn ( |
Get a column of this matrix |
|
|
GetFrustumBottomPlane ( |
||
|
GetFrustumFarPlane ( |
||
|
GetFrustumLeftPlane ( |
||
|
GetFrustumNearPlane ( |
Frustum plane extraction. |
|
|
GetFrustumRightPlane ( |
||
|
GetFrustumTopPlane ( |
||
|
GetMatrixWithoutScale ( |
Returns matrix after RemoveScaling with error Tolerance. |
|
|
float |
GetMaximumAxisScale() |
|
|
GetOrigin() |
||
|
GetScaledAxes |
Get axes of this matrix scaled by the scale of the matrix |
|
|
GetScaledAxis ( |
Get axis of this matrix scaled by the scale of the matrix |
|
|
GetScaleVector ( |
Return a 3D scale vector calculated from this matrix (where each component is the magnitude of a row vector) with error Tolerance. |
|
|
GetTransposed() |
||
|
GetUnitAxes |
Get unit length axes of this matrix |
|
|
GetUnitAxis ( |
Get unit length axis of this matrix |
|
|
Inverse() |
Inverse. |
|
|
InverseFast() |
Inverse. |
|
|
InverseTransformPosition ( |
Inverts the matrix and then transforms V - correctly handles scaling in this matrix. |
|
|
InverseTransformVector ( |
Transform a direction vector by the inverse of this matrix - will not take into account translation part. |
|
|
Mirror ( |
Utility for mirroring this transform across a certain plane, and flipping one of the axis as well. |
|
|
RemoveScaling ( |
Remove any scaling from this matrix (ie magnitude of each row is 1) with error Tolerance. |
|
|
RemoveTranslation() |
Remove any translation from this matrix. |
|
|
Rotator() |
||
|
float |
RotDeterminant() |
Calculate determinant of rotation 3x3 matrix |
|
ScaleTranslation ( |
Scale the translation part of the matrix by the supplied vector. |
|
|
Serialize ( |
||
|
SetAxes |
Update the axes of the matrix if any value is NULL do not update that axis |
|
|
SetAxis |
Set an axis of this matrix |
|
|
SetColumn |
Set a column of this matrix |
|
|
SetIdentity() |
Set this to the identity matrix. |
|
|
SetOrigin ( |
Set the origin of the coordinate system to the given vector. |
|
|
To3x4MatrixTranspose ( |
Convert this Atom to the 3x4 transpose of the transformation matrix. |
|
|
ToQuat() |
Transform a rotation matrix into a quaternion. |
|
|
ToString() |
Get a textual representation of the vector. |
|
|
TransformFVector4 ( |
Homogeneous transform. |
|
|
TransformPosition ( |
Transform a location - will take into account translation part of the FMatrix. |
|
|
TransformVector ( |
Transform a direction vector - will not take into account translation part of the FMatrix. |
|
|
TransposeAdjoint() |
Name | Description | ||
---|---|---|---|
|
operator!= ( |
Checks whether another Matrix is not equal to this, within specified tolerance. |
|
|
operator* ( |
This isn't applying SCALE, just multiplying the value to all members - i.e. weighting |
|
|
operator* ( |
Gets the result of multiplying a Matrix to this. |
|
|
operator*= ( |
Multiply this matrix by a weighting factor. |
|
|
operator*= ( |
Multiply this by a matrix. |
|
|
operator+ ( |
Gets the result of adding a matrix to this. |
|
|
operator+= ( |
Adds to this matrix. |
|
|
operator== ( |
Checks whether two matrix are identical. |
Name |
Description |
---|---|
Identity |
Identity matrix. |