Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FConvexVolume
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/ConvexVolume.h |
| Include | #include "ConvexVolume.h" |
| Source | /Engine/Source/Runtime/Engine/Private/ConvexVolume.cpp |
float DistanceTo
(
const FVector & Point
) const
Remarks
Calculates the maximum perpendicular distance of a point to the plains of the convex volume. The distance can be used to see if the sphere is touching the volume Returns the maximum perpendicular distance to then plains (the distance is conservative at the corners)
Parameters
| Name | Description |
|---|---|
| Point | to calculate the distance to. |