Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TRotator
Description
Checks whether rotator is nearly zero within specified tolerance, when treated as an orientation. This means that TRotator(0, 0, 360) is "zero", because it is the same final orientation as the zero rotator.
| Name | IsNearlyZero |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Rotator.h |
| Include Path | #include "Math/Rotator.h" |
bool IsNearlyZero
(
T Tolerance
) const
true if rotator is nearly zero, within specified tolerance, otherwise false.
Parameters
| Name | Remarks |
|---|---|
| Tolerance | Error Tolerance. |