|
| FORCEINLINE void | DiagnosticCheckNaN () const |
| |
| FORCEINLINE void | DiagnosticCheckNaN (const TCHAR *Message) const |
| |
| FORCEINLINE | TRotator () |
| |
| FORCEINLINE | TRotator (T InF) |
| |
| FORCEINLINE | TRotator (T InPitch, T InYaw, T InRoll) |
| |
| FORCEINLINE | TRotator (EForceInit) |
| |
| | TRotator (const TQuat< T > &Quat) |
| |
| TRotator | operator+ (const TRotator< T > &R) const |
| |
| TRotator | operator- (const TRotator< T > &R) const |
| |
| template<typename FArg , TEMPLATE_REQUIRES(std::is_arithmetic< FArg >::value) > |
| FORCEINLINE TRotator | operator* (FArg Scale) const |
| |
| template<typename FArg , TEMPLATE_REQUIRES(std::is_arithmetic< FArg >::value) > |
| FORCEINLINE TRotator | operator*= (FArg Scale) |
| |
| bool | operator== (const TRotator< T > &R) const |
| |
| bool | operator!= (const TRotator< T > &V) const |
| |
| TRotator | operator+= (const TRotator< T > &R) |
| |
| TRotator | operator-= (const TRotator< T > &R) |
| |
| bool | IsNearlyZero (T Tolerance=UE_KINDA_SMALL_NUMBER) const |
| |
| bool | IsZero () const |
| |
| bool | Equals (const TRotator< T > &R, T Tolerance=UE_KINDA_SMALL_NUMBER) const |
| |
| TRotator | Add (T DeltaPitch, T DeltaYaw, T DeltaRoll) |
| |
| TRotator | GetInverse () const |
| |
| TRotator | GridSnap (const TRotator< T > &RotGrid) const |
| |
| TVector< T > | Vector () const |
| |
| TQuat< T > | Quaternion () const |
| |
| TVector< T > | Euler () const |
| |
| TVector< T > | RotateVector (const UE::Math::TVector< T > &V) const |
| |
| TVector< T > | UnrotateVector (const UE::Math::TVector< T > &V) const |
| |
| TRotator< T > | Clamp () const |
| |
| TRotator< T > | GetNormalized () const |
| |
| TRotator< T > | GetDenormalized () const |
| |
| T | GetComponentForAxis (EAxis::Type Axis) const |
| |
| void | SetComponentForAxis (EAxis::Type Axis, T Component) |
| |
| void | Normalize () |
| |
| void | GetWindingAndRemainder (TRotator< T > &Winding, TRotator< T > &Remainder) const |
| |
| T | GetManhattanDistance (const TRotator< T > &Rotator) const |
| |
| TRotator | GetEquivalentRotator () const |
| |
| void | SetClosestToMe (TRotator &MakeClosest) const |
| |
| FString | ToString () const |
| |
| FString | ToCompactString () const |
| |
| bool | InitFromString (const FString &InSourceString) |
| |
| bool | ContainsNaN () const |
| |
| void | SerializeCompressed (FArchive &Ar) |
| |
| void | SerializeCompressedShort (FArchive &Ar) |
| |
| bool | NetSerialize (FArchive &Ar, class UPackageMap *Map, bool &bOutSuccess) |
| |
| bool | Serialize (FArchive &Ar) |
| |
| bool | SerializeFromMismatchedTag (FName StructTag, FArchive &Ar) |
| |
| template<typename FArg , TEMPLATE_REQUIRES(!std::is_same_v< T, FArg >) > |
| | TRotator (const TRotator< FArg > &From) |
| |
template<
typename T>
struct UE::Math::TRotator< T >
Implements a container for rotation information.
All rotation values are stored in degrees.
The angles are interpreted as intrinsic rotations applied in the order Yaw, then Pitch, then Roll. I.e., an object would be rotated first by the specified yaw around its up axis (with positive angles interpreted as clockwise when viewed from above, along -Z), then pitched around its (new) right axis (with positive angles interpreted as 'nose up', i.e. clockwise when viewed along +Y), and then finally rolled around its (final) forward axis (with positive angles interpreted as clockwise rotations when viewed along +X).
Note that these conventions differ from quaternion axis/angle. UE Quat always considers a positive angle to be a left-handed rotation, whereas Rotator treats yaw as left-handed but pitch and roll as right-handed.
Definition at line 35 of file Rotator.h.