Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/Spatial > API/Runtime/GeometryCore/Spatial/FOccupancyGrid3
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/Spatial/OccupancyGrid3.h |
| Include | #include "Spatial/OccupancyGrid3.h" |
FVector3i GetCellIndexFromPoint
(
const FVector & InPoint
) const
Remarks
Given a point in space, return a computed index into the occupancy grid. If the point is outside of the mesh's bounding box, the given index will be outside the range of the occupancy grid. To check for validity, test against the occupancy grid's extents as returned by GetOccupancy.