FBoxSphereBounds::ComputeSquaredDistanceFromBoxToPoint

Calculates the squared distance from a point to a bounding box

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/BoxSphereBounds.h"

Syntax

float ComputeSquaredDistanceFromBoxToPoint
(
    const FVector & Point
) const

Remarks

Calculates the squared distance from a point to a bounding 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