TVector2::IsNearlyZero

Checks whether vector is near to zero within a specified tolerance.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Math/Vector2D.h"

Syntax

bool IsNearlyZero
(
    T Tolerance
) const

Remarks

Checks whether vector is near to zero within a specified tolerance.

Returns

true if vector is in tolerance to zero, otherwise false.

Parameters

Parameter

Description

Tolerance

Error tolerance.