TRotator::GetWindingAndRemainder

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

Choose your operating system:

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
(
    TRotator< T > & Winding,
    TRotator< T > & 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