FVector::IsNearlyZero

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

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Vector.h"

Syntax

bool IsNearlyZero
(
    float Tolerance
) const

Remarks

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

Returns

true if the vector is near to zero, false otherwise.

Parameters

Parameter

Description

Tolerance

Error tolerance.

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