FVector2D::Equals

Checks for equality with error-tolerant comparison.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Vector2D.h"

Syntax

bool Equals
(
    const FVector2D & V,
    float Tolerance
) const

Remarks

Checks for equality with error-tolerant comparison.

Returns

true if the vectors are equal within specified tolerance, otherwise false.

Parameters

Parameter

Description

V

The vector to compare.

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