UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FRotationConversionCache Struct Reference

#include <EngineTypes.h>

Public Member Functions

 FRotationConversionCache ()
 
FQuat RotatorToQuat (const FRotator &InRotator) const
 
FQuat RotatorToQuat_ReadOnly (const FRotator &InRotator) const
 
FRotator QuatToRotator (const FQuat &InQuat) const
 
FRotator QuatToRotator_ReadOnly (const FQuat &InQuat) const
 
FRotator NormalizedQuatToRotator (const FQuat &InNormalizedQuat) const
 
FRotator NormalizedQuatToRotator_ReadOnly (const FQuat &InNormalizedQuat) const
 
FQuat GetCachedQuat () const
 
FRotator GetCachedRotator () const
 
FRotationConversionCacheoperator= (const FRotationConversionCache &Other)
 

Detailed Description

Struct for caching Quat<->Rotator conversions.

Constructor & Destructor Documentation

◆ FRotationConversionCache()

FRotationConversionCache::FRotationConversionCache ( )
inline

Member Function Documentation

◆ GetCachedQuat()

FQuat FRotationConversionCache::GetCachedQuat ( ) const
inline

Return the cached Quat.

◆ GetCachedRotator()

FRotator FRotationConversionCache::GetCachedRotator ( ) const
inline

Return the cached Rotator.

◆ NormalizedQuatToRotator()

FRotator FRotationConversionCache::NormalizedQuatToRotator ( const FQuat InNormalizedQuat) const
inline

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

◆ NormalizedQuatToRotator_ReadOnly()

FRotator FRotationConversionCache::NormalizedQuatToRotator_ReadOnly ( const FQuat InNormalizedQuat) const
inline

Version of QuatToRotator when the Quat is known to already be normalized. Does NOT update the cache if there was no match.

◆ operator=()

FRotationConversionCache & FRotationConversionCache::operator= ( const FRotationConversionCache Other)
inline

◆ QuatToRotator()

FRotator FRotationConversionCache::QuatToRotator ( const FQuat InQuat) const
inline

Convert a FQuat to FRotator. Uses the cached conversion if possible, and updates it if there was no match.

◆ QuatToRotator_ReadOnly()

FRotator FRotationConversionCache::QuatToRotator_ReadOnly ( const FQuat InQuat) const
inline

Convert a FQuat to FRotator. Uses the cached conversion if possible, but does NOT update the cache if there was no match.

◆ RotatorToQuat()

FQuat FRotationConversionCache::RotatorToQuat ( const FRotator InRotator) const
inline

Convert a FRotator to FQuat. Uses the cached conversion if possible, and updates it if there was no match.

◆ RotatorToQuat_ReadOnly()

FQuat FRotationConversionCache::RotatorToQuat_ReadOnly ( const FRotator InRotator) const
inline

Convert a FRotator to FQuat. Uses the cached conversion if possible, but does NOT update the cache if there was no match.


The documentation for this struct was generated from the following file: