Navigation
API > API/Plugins > API/Plugins/ZoneGraph > API/Plugins/ZoneGraph/FZoneGraphBuilder
Description
Returns items that potentially touch the bounds in the HashGrid. Operates on grid level, can have false positives.
| Name | QueryHashGrid |
| Type | function |
| Header File | /Engine/Plugins/Runtime/ZoneGraph/Source/ZoneGraph/Public/ZoneGraphBuilder.h |
| Include Path | #include "ZoneGraphBuilder.h" |
| Source | /Engine/Plugins/Runtime/ZoneGraph/Source/ZoneGraph/Private/ZoneGraphBuilder.cpp |
void QueryHashGrid
(
const FBox & Bounds,
TArray < FZoneGraphBuilderHashGrid2D::ItemIDType > & OutResults
)
Parameters
| Name | Remarks |
|---|---|
| Bounds | Query bounding box. |
| OutResults | Result of the query, IDs of potentially overlapping items. |