Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TRotator
Description
Modify if necessary the passed in rotator to be the closest rotator to it based upon it's equivalent. This Rotator should be within (-180, 180], usually just constructed from a Matrix or a Quaternion.
| Name | SetClosestToMe |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Rotator.h |
| Include Path | #include "Math/Rotator.h" |
void SetClosestToMe
(
TRotator & MakeClosest
) const
Parameters
| Name | Remarks |
|---|---|
| MakeClosest[In/Out] | the Rotator we want to make closest to us. Should be between (-180, 180]. This Rotator may change if we need to use different degree values to make it closer. |