FVector::AllComponentsEqual

Checks whether all components of this vector are the same, within a tolerance.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Vector.h"

Syntax

bool AllComponentsEqual
(
    float Tolerance
) const

Remarks

Checks whether all components of this vector are the same, within a tolerance.

Returns

true if the vectors are equal within tolerance limits, 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