UKismetMathLibrary::Vector_DistanceSquared

Squared distance between two points.

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_DistanceSquared
(
    FVector V1,
    FVector V2
)

Remarks

Squared distance between two points.

Returns

The squared distance between two points.

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