engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
FRotationMatrix类 参考

Rotation matrix no translation 更多...

#include <RotationMatrix.h>

+ 类 FRotationMatrix 继承关系图:

Public 成员函数

 FRotationMatrix (const FRotator &Rot)
 Constructor. 更多...
 
- Public 成员函数 继承自 FRotationTranslationMatrix
 FRotationTranslationMatrix (const FRotator &Rot, const FVector &Origin)
 Constructor. 更多...
 
- Public 成员函数 继承自 FMatrix
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. 更多...
 

静态 Public 成员函数

static CORE_API FMatrix Make (FQuat const &Rot)
 Matrix factory. 更多...
 
static FMatrix Make (FRotator const &Rot)
 Matrix factory. 更多...
 
static CORE_API FMatrix MakeFromX (FVector const &XAxis)
 Builds a rotation matrix given only a XAxis. 更多...
 
static CORE_API FMatrix MakeFromXY (FVector const &XAxis, FVector const &YAxis)
 Builds a matrix with given X and Y axes. 更多...
 
static CORE_API FMatrix MakeFromXZ (FVector const &XAxis, FVector const &ZAxis)
 Builds a matrix with given X and Z axes. 更多...
 
static CORE_API FMatrix MakeFromY (FVector const &YAxis)
 Builds a rotation matrix given only a YAxis. 更多...
 
static CORE_API FMatrix MakeFromYX (FVector const &YAxis, FVector const &XAxis)
 Builds a matrix with given Y and X axes. 更多...
 
static CORE_API FMatrix MakeFromYZ (FVector const &YAxis, FVector const &ZAxis)
 Builds a matrix with given Y and Z axes. 更多...
 
static CORE_API FMatrix MakeFromZ (FVector const &ZAxis)
 Builds a rotation matrix given only a ZAxis. 更多...
 
static CORE_API FMatrix MakeFromZX (FVector const &ZAxis, FVector const &XAxis)
 Builds a matrix with given Z and X axes. 更多...
 
static CORE_API FMatrix MakeFromZY (FVector const &ZAxis, FVector const &YAxis)
 Builds a matrix with given Z and Y axes. 更多...
 
- 静态 Public 成员函数 继承自 FRotationTranslationMatrix
static FMatrix Make (const FRotator &Rot, const FVector &Origin)
 Matrix factory. 更多...
 

详细描述

Rotation matrix no translation

构造及析构函数说明

◆ FRotationMatrix()

FRotationMatrix::FRotationMatrix ( const FRotator &  Rot)
inline

Constructor.

参数
Rotrotation

成员函数说明

◆ Make() [1/2]

static CORE_API FMatrix FRotationMatrix::Make ( FQuat const &  Rot)
static

Matrix factory.

Return an FMatrix so we don't have type conversion issues in expressions.

◆ Make() [2/2]

static FMatrix FRotationMatrix::Make ( FRotator const &  Rot)
inlinestatic

Matrix factory.

Return an FMatrix so we don't have type conversion issues in expressions.

◆ MakeFromX()

static CORE_API FMatrix FRotationMatrix::MakeFromX ( FVector const &  XAxis)
static

Builds a rotation matrix given only a XAxis.

Y and Z are unspecified but will be orthonormal. XAxis need not be normalized.

◆ MakeFromXY()

static CORE_API FMatrix FRotationMatrix::MakeFromXY ( FVector const &  XAxis,
FVector const &  YAxis 
)
static

Builds a matrix with given X and Y axes.

X will remain fixed, Y may be changed minimally to enforce orthogonality. Z will be computed. Inputs need not be normalized.

◆ MakeFromXZ()

static CORE_API FMatrix FRotationMatrix::MakeFromXZ ( FVector const &  XAxis,
FVector const &  ZAxis 
)
static

Builds a matrix with given X and Z axes.

X will remain fixed, Z may be changed minimally to enforce orthogonality. Y will be computed. Inputs need not be normalized.

◆ MakeFromY()

static CORE_API FMatrix FRotationMatrix::MakeFromY ( FVector const &  YAxis)
static

Builds a rotation matrix given only a YAxis.

X and Z are unspecified but will be orthonormal. YAxis need not be normalized.

◆ MakeFromYX()

static CORE_API FMatrix FRotationMatrix::MakeFromYX ( FVector const &  YAxis,
FVector const &  XAxis 
)
static

Builds a matrix with given Y and X axes.

Y will remain fixed, X may be changed minimally to enforce orthogonality. Z will be computed. Inputs need not be normalized.

◆ MakeFromYZ()

static CORE_API FMatrix FRotationMatrix::MakeFromYZ ( FVector const &  YAxis,
FVector const &  ZAxis 
)
static

Builds a matrix with given Y and Z axes.

Y will remain fixed, Z may be changed minimally to enforce orthogonality. X will be computed. Inputs need not be normalized.

◆ MakeFromZ()

static CORE_API FMatrix FRotationMatrix::MakeFromZ ( FVector const &  ZAxis)
static

Builds a rotation matrix given only a ZAxis.

X and Y are unspecified but will be orthonormal. ZAxis need not be normalized.

◆ MakeFromZX()

static CORE_API FMatrix FRotationMatrix::MakeFromZX ( FVector const &  ZAxis,
FVector const &  XAxis 
)
static

Builds a matrix with given Z and X axes.

Z will remain fixed, X may be changed minimally to enforce orthogonality. Y will be computed. Inputs need not be normalized.

◆ MakeFromZY()

static CORE_API FMatrix FRotationMatrix::MakeFromZY ( FVector const &  ZAxis,
FVector const &  YAxis 
)
static

Builds a matrix with given Z and Y axes.

Z will remain fixed, Y may be changed minimally to enforce orthogonality. X will be computed. Inputs need not be normalized.


该类的文档由以下文件生成: