|
|
FMatrix | ApplyScale (float Scale) const |
| | Apply Scale to this matrix
|
| |
|
CORE_API uint32 | ComputeHash () const |
| | For debugging purpose, could be changed
|
| |
|
FMatrix | ConcatTranslation (const FVector &Translation) const |
| | Returns a matrix with an additional translation concatenated.
|
| |
|
bool | ContainsNaN () const |
| | Returns true if any element of this matrix is NaN
|
| |
|
void | DebugPrint () const |
| | Output ToString
|
| |
| bool | Equals (const FMatrix &Other, float Tolerance=KINDA_SMALL_NUMBER) const |
| | Checks whether another Matrix is equal to this, within specified tolerance. 更多...
|
| |
|
FVector | ExtractScaling (float Tolerance=SMALL_NUMBER) |
| | 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
|
| |
| FORCEINLINE | FMatrix (const FPlane &InX, const FPlane &InY, const FPlane &InZ, const FPlane &InW) |
| | Constructor. 更多...
|
| |
| FORCEINLINE | FMatrix (const FVector &InX, const FVector &InY, const FVector &InZ, const FVector &InW) |
| | Constructor. 更多...
|
| |
| FORCEINLINE | FMatrix (EForceInit) |
| | Constructor. 更多...
|
| |
| FVector | GetColumn (int32 i) const |
| | get a column of this matrix 更多...
|
| |
| FORCEINLINE bool | GetFrustumBottomPlane (FPlane &OutPlane) const |
| |
| FORCEINLINE bool | GetFrustumFarPlane (FPlane &OutPlane) const |
| |
| FORCEINLINE bool | GetFrustumLeftPlane (FPlane &OutPlane) const |
| |
| FORCEINLINE bool | GetFrustumNearPlane (FPlane &OutPlane) const |
| |
| FORCEINLINE bool | GetFrustumRightPlane (FPlane &OutPlane) const |
| |
| FORCEINLINE bool | GetFrustumTopPlane (FPlane &OutPlane) const |
| |
| float | GetMaximumAxisScale () const |
| |
| void | GetScaledAxes (FVector &X, FVector &Y, FVector &Z) const |
| | get axes of this matrix scaled by the scale of the matrix 更多...
|
| |
| FVector | GetScaledAxis (EAxis::Type Axis) const |
| | get axis of this matrix scaled by the scale of the matrix 更多...
|
| |
|
FVector | GetScaleVector (float Tolerance=SMALL_NUMBER) const |
| | return a 3D scale vector calculated from this matrix (where each component is the magnitude of a row vector) with error Tolerance.
|
| |
| void | GetUnitAxes (FVector &X, FVector &Y, FVector &Z) const |
| | get unit length axes of this matrix 更多...
|
| |
| FVector | GetUnitAxis (EAxis::Type Axis) const |
| | get unit length axis of this matrix 更多...
|
| |
|
FMatrix | Inverse () const |
| | Fast path, and handles nil matrices.
|
| |
|
FMatrix | InverseFast () const |
| | Fast path, doesn't check for nil matrices in final release builds
|
| |
|
FORCEINLINE FVector | InverseTransformPosition (const FVector &V) const |
| | Inverts the matrix and then transforms V - correctly handles scaling in this matrix.
|
| |
| FORCEINLINE FVector | InverseTransformVector (const FVector &V) const |
| | Transform a direction vector by the inverse of this matrix - will not take into account translation part. 更多...
|
| |
|
void | Mirror (EAxis::Type MirrorAxis, EAxis::Type FlipAxis) |
| | Utility for mirroring this transform across a certain plane, and flipping one of the axis as well.
|
| |
| bool | operator!= (const FMatrix &Other) const |
| | Checks whether another Matrix is not equal to this, within specified tolerance. 更多...
|
| |
| FORCEINLINE FMatrix | operator* (const FMatrix &Other) const |
| | Gets the result of multiplying a Matrix to this. 更多...
|
| |
| FORCEINLINE FMatrix | operator* (float Other) const |
| | This isn't applying SCALE, just multiplying the value to all members - i.e. 更多...
|
| |
| FORCEINLINE void | operator*= (const FMatrix &Other) |
| | Multiply this by a matrix. 更多...
|
| |
| FORCEINLINE void | operator*= (float Other) |
| | Multiply this matrix by a weighting factor. 更多...
|
| |
| FORCEINLINE FMatrix | operator+ (const FMatrix &Other) const |
| | Gets the result of adding a matrix to this. 更多...
|
| |
| FORCEINLINE void | operator+= (const FMatrix &Other) |
| | Adds to this matrix. 更多...
|
| |
| bool | operator== (const FMatrix &Other) const |
| | Checks whether two matrix are identical. 更多...
|
| |
| CORE_API FRotator | Rotator () const |
| |
| float | RotDeterminant () const |
| |
|
void | ScaleTranslation (const FVector &Scale3D) |
| | Scale the translation part of the matrix by the supplied vector.
|
| |
| void | SetAxes (FVector *Axis0=NULL, FVector *Axis1=NULL, FVector *Axis2=NULL, FVector *Origin=NULL) |
| | Update the axes of the matrix if any value is NULL do not update that axis 更多...
|
| |
| void | SetAxis (int32 i, const FVector &Axis) |
| | set an axis of this matrix 更多...
|
| |
| void | SetColumn (int32 i, FVector Value) |
| | Set a column of this matrix 更多...
|
| |
|
void | To3x4MatrixTranspose (float *Out) const |
| | Convert this Atom to the 3x4 transpose of the transformation matrix.
|
| |
| CORE_API FQuat | ToQuat () const |
| | Transform a rotation matrix into a quaternion. 更多...
|
| |
| CORE_API FString | ToString () const |
| | Get a textual representation of the vector. 更多...
|
| |
|
FORCEINLINE FVector4 | TransformPosition (const FVector &V) const |
| | Transform a location - will take into account translation part of the FMatrix.
|
| |
| FORCEINLINE FVector4 | TransformVector (const FVector &V) const |
| | Transform a direction vector - will not take into account translation part of the 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].