UKismetMathLibrary::Vector_Distance2DSquared

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

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h

Include

#include "Kismet/KismetMathLibrary.h"

Source

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.inl

Syntax

static float Vector_Distance2DSquared
(
    FVector V1,
    FVector V2
)

Remarks

Squared 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