Navigation
API > API/Runtime > API/Runtime/ChaosCore
| Name | TRotation< FRealSingle, 3 > |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/ChaosCore/Public/Chaos/Rotation.h |
| Include Path | #include "Chaos/Rotation.h" |
Syntax
template<>
class TRotation< FRealSingle, 3 > : public UE::Math::TQuat< FRealSingle >
Inheritance Hierarchy
- TQuat → TRotation< FRealSingle, 3 >
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| BaseQuat | UE::Math::TQuat< FRealSingle > | Chaos/Rotation.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRealSingle GetAbsMax() |
Return the large absolute element value. | Chaos/Rotation.h | |
bool GetRotationAxisSafe
(
TVector< FRealSingle, 3 >& OutAxis, |
Extract the axis from the Quaternion. | Chaos/Rotation.h | |
bool ToAxisAndAngleSafe
(
TVector< FRealSingle, 3 >& OutAxis, |
Extract the axis and angle from the Quaternion. | Chaos/Rotation.h | |
PMatrix< FRealSingle, 3, 3 > ToMatrix() |
Chaos/Rotation.h | ||
| Convert to a matrix and return as the 3 matrix axes. | Chaos/Rotation.h | ||
| Extract the Swing and Twist rotations, assuming that the Twist Axis is (1,0,0). /see ToSwingTwist | Chaos/Rotation.h | ||
TRotation
(
const FMatrix44d& Matrix |
Chaos/Rotation.h | ||
TRotation () |
Chaos/Rotation.h | ||
| Chaos/Rotation.h | |||
TRotation
(
const FMatrix44f& Matrix |
Chaos/Rotation.h | ||
TRotation
(
const UE::Math::TQuat< OtherType >& Other |
Chaos/Rotation.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TVector< FRealSingle, 3 > CalculateAngularDelta
(
const TRotation< FRealSingle, 3 >& InR0, |
Calculate the axis-angle delta (angular velocity * dt) required to take an object with orientation R0 to orientation R1. | Chaos/Rotation.h | |
static TVector< FRealSingle, 3 > CalculateAngularVelocity
(
const TRotation< FRealSingle, 3 >& InR0, |
Calculate the angular velocity required to take an object with orientation R0 to orientation R1 in time Dt. | Chaos/Rotation.h | |
static TVector< FRealSingle, 3 > CalculateAngularVelocity1
(
const TRotation< FRealSingle, 3 >& R0, |
Calculate the angular velocity required to take an object with orientation R0 to orientation R1 in time Dt. | Chaos/Rotation.h | |
static TVector< FRealSingle, 3 > CalculateAngularVelocity2
(
const TRotation< FRealSingle, 3 >& R0, |
Calculate the angular velocity required to take an object with orientation R0 to orientation R1 in time Dt. | Chaos/Rotation.h | |
static TRotation< FRealSingle, 3 > Conjugate
(
const ::Chaos::TRotation< FRealSingle, 3 >& InR |
Return the complex conjugate of the rotation | Chaos/Rotation.h | |
| Return the dot product of two quaternions. | Chaos/Rotation.h | ||
static TRotation< FRealSingle, 3 > FromAxisAngle
(
const ::Chaos::TVector< FRealSingle, 3 >& Axis, |
Create a rotation about an axis by an angle specified in radians | Chaos/Rotation.h | |
static TRotation< FRealSingle, 3 > FromElements
(
const FRealSingle X, |
Create a rotation by explicitly specifying all elements | Chaos/Rotation.h | |
static TRotation< FRealSingle, 3 > FromElements
(
const ::Chaos::TVector< FRealSingle, 3 >& V, |
Create a rotation by explicitly specifying all elements | Chaos/Rotation.h | |
static TRotation< FRealSingle, 3 > FromIdentity() |
Create an identity rotation | Chaos/Rotation.h | |
static TRotation< FRealSingle, 3 > FromRotatedVector
(
const ::Chaos::TVector< FRealSingle, 3 >& InitialVector, |
Generate a Rotation that would rotate vector InitialVector to FinalVector | Chaos/Rotation.h | |
static TRotation< FRealSingle, 3 > FromVector
(
const ::Chaos::TVector< FRealSingle, 3 >& V |
Create a rotation about an axis V/|V| by angle |V| in radians | Chaos/Rotation.h | |
static TRotation< FRealSingle, 3 > IntegrateRotationWithAngularVelocity
(
const TRotation< FRealSingle, 3 >& InR0, |
Return a new rotation equal to the input rotation with angular velocity W applied over time Dt. | Chaos/Rotation.h | |
static bool IsNearlyEqual
(
const TRotation< FRealSingle, 3 >& A, |
Check that two rotations are approximately equal. | Chaos/Rotation.h | |
static TRotation< FRealSingle, 3 > Negate
(
const ::Chaos::TRotation< FRealSingle, 3 >& InR |
Negate all values of the quaternion (note: not the inverse rotation. See Conjugate) | Chaos/Rotation.h |