FVector::DistSquaredXY

Squared distance between two points in the XY plane only.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Vector.h"

Syntax

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

Remarks

Squared distance between two points in the XY plane only.

Returns

The squared 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