FVector::DistSquared

Squared distance between two points.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Vector.h"

Syntax

static float DistSquared
(
    const FVector & V1,
    const 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