TRotation< float, 3 >

Windows
MacOS
Linux

Inheritance Hierarchy

FQuat

TRotation< float, 3 >

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Rotation.h

Include

#include "Chaos/Rotation.h"

Syntax

template<>
class TRotation< float, 3 > : public FQuat

Functions

Name Description

Public function Static

TVector< flo...

 

CalculateAngularVelocity

(
    const TRotation< float, 3 >& InR0,
    const TRotation< float, 3 >& InR1,
    const float InDt
)

Calculate the angular velocity required to take an object with orientation R0 to orientation R1 in time Dt.

Public function Static

TVector< flo...

 

CalculateAngularVelocity1

(
    const TRotation< float, 3 >& InR0,
    const TRotation< float, 3 >& InR1,
    const float InDt
)

Calculate the angular velocity required to take an object with orientation R0 to orientation R1 in time Dt.

Public function Static

TVector< flo...

 

CalculateAngularVelocity2

(
    const TRotation< float, 3 >& InR0,
    const TRotation< float, 3 >& InR1,
    const float InDt
)

Calculate the angular velocity required to take an object with orientation R0 to orientation R1 in time Dt.

Public function Static

TRotation< f...

 

Conjugate

(
    const ::Chaos::TRotation< float, 3 ...
)

Return the complex conjugate of the rotation

Public function Static

TRotation< f...

 

FromAxisAngle

(
    const ::Chaos::TVector< float, 3 > ...,
    const float AngleRad
)

Create a rotation about an axis by an angle specified in radians

Public function Static

TRotation< f...

 

FromElements

(
    const float X,
    const float Y,
    const float Z,
    const float W
)

Create a rotation by explicitly specifying all elements

Public function Static

TRotation< f...

 

FromElements

(
    const ::Chaos::TVector< float, 3 > ...,
    const float W
)

Create a rotation by explicitly specifying all elements

Public function Static

TRotation< f...

 

FromIdentity()

Create an identity rotation

Public function Static

TRotation< f...

 

FromRotatedVector

(
    const ::Chaos::TVector< float, 3 > ...,
    const ::Chaos::TVector< float, 3 > ...
)

Generate a Rotation that would rotate vector InitialVector to FinalVector

Public function Static

TRotation< f...

 

FromVector

(
    const ::Chaos::TVector< float, 3 > ...
)

Create a rotation about an axis V/|V| by angle |V| in radians

Public function Const

bool

 

GetRotationAxisSafe

(
    TVector< float, 3 >& OutAxis,
    const TVector< float, 3 >& Default...,
    float EpsilionSq
)

Extract the axis from the Quaternion.

Public function Static

TRotation< f...

 

IntegrateRotationWithAngularVelocity

(
    const TRotation< float, 3 >& InR0,
    const TVector< float, 3 >& InW,
    const float InDt
)

Return a new rotation equal to the input rotation with angular velocity W applied over time Dt.

Public function Static

TRotation< f...

 

Negate

(
    const ::Chaos::TRotation< float, 3 ...
)

Negate all values of the quaternion (note: not the inverse rotation. See Conjugate)

Public function Const

bool

 

ToAxisAndAngleSafe

(
    TVector< float, 3 >& OutAxis,
    float& OutAngle,
    const TVector< float, 3 >& Default...,
    float EpsilionSq
)

Extract the axis and angle from the Quaternion.

Public function Const

PMatrix< flo...

 

ToMatrix()

Public function Const

void

 

ToSwingTwistX

(
    FQuat& OutSwing,
    FQuat& OutTwist
)

Extract the Swing and Twist rotations, assuming that the Twist Axis is (1,0,0). /see ToSwingTwist

Public function

 

TRotation

(
    const FQuat& Quat
)

Public function

 

TRotation()

Public function

 

TRotation

(
    const FMatrix& Matrix
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss