FVector::DistXY

Euclidean distance between two points in the XY plane (ignoring Z).

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Vector.h"

Syntax

static float DistXY
(
    const FVector & V1,
    const FVector & V2
)

Remarks

Euclidean distance between two points in the XY plane (ignoring Z).

Returns

The distance between two points in the XY plane.

Parameters

Parameter

Description

V1

The first point.

V2

The second point.

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