FBox::ComputeSquaredDistanceToPoint

Calculates the distance of a point to this box.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Box.h"

Syntax

float ComputeSquaredDistanceToPoint
(
    const FVector & Point
) const

Remarks

Calculates the distance of a point to this box.

Returns

The distance.

Parameters

Parameter

Description

Point

The 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