FRotator::GetWindingAndRemainder

Decompose this Rotator into a Winding part (multiples of 360) and a Remainder part.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Rotator.h"

Source

/Engine/Source/Runtime/Core/Private/Math/UnrealMath.cpp

Syntax

void GetWindingAndRemainder
(
    FRotator & Winding,
    FRotator & Remainder
) const

Remarks

Decompose this Rotator into a Winding part (multiples of 360) and a Remainder part. Remainder will always be in [-180, 180] range.

Parameters

Parameter

Description

Winding[Out]

the Winding part of this Rotator

Remainder[Out]

the Remainder

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