FRotationConversionCache::RotatorToQuat

Convert a [FRotator](API\Runtime\Core\Math\FRotator) to [FQuat](API\Runtime\Core\Math\FQuat).

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Engine/EngineTypes.h"

Syntax

FQuat RotatorToQuat
(
    const FRotator & InRotator
) const

Remarks

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

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