TRotator::GetEquivalentRotator

Return a Rotator that has the same rotation but has different degree values for Yaw, Pitch, and Roll.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/Rotator.h

Include

#include "Math/Rotator.h"

Syntax

TRotator GetEquivalentRotator() const

Remarks

Return a Rotator that has the same rotation but has different degree values for Yaw, Pitch, and Roll. This rotator should be within -180,180 range,

Returns

A Rotator with the same rotation but different degrees.