FRotationConversionCache

Struct for caching Quat<->Rotator conversions.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h

Include

#include "Engine/EngineTypes.h"

Syntax

struct FRotationConversionCache

Remarks

Struct for caching Quat<->Rotator conversions.

Constructors

Name Description

Public function

FRotationConversionCache()

Functions

Name Description

Public function Const

FQuat

 

GetCachedQuat()

Return the cached Quat.

Public function Const

FRotator

 

GetCachedRotator()

Return the cached Rotator.

Public function Const

FRotator

 

NormalizedQuatToRotator

(
    const FQuat& InNormalizedQuat
)

Version of QuatToRotator when the Quat is known to already be normalized.

Public function Const

FRotator

 

NormalizedQuatToRotator_ReadOnly

(
    const FQuat& InNormalizedQuat
)

Version of QuatToRotator when the Quat is known to already be normalized.

Public function Const

FRotator

 

QuatToRotator

(
    const FQuat& InQuat
)

Convert a FQuat to FRotator.

Public function Const

FRotator

 

QuatToRotator_ReadOnly

(
    const FQuat& InQuat
)

Convert a FQuat to FRotator.

Public function Const

FQuat

 

RotatorToQuat

(
    const FRotator& InRotator
)

Convert a FRotator to FQuat.

Public function Const

FQuat

 

RotatorToQuat_ReadOnly

(
    const FRotator& InRotator
)

Convert a FRotator to FQuat.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback