Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/THierarchicalHashGrid2D
References
| Module | AIModule |
| Header | /Engine/Source/Runtime/AIModule/Public/HierarchicalHashGrid2D.h |
| Include | #include "HierarchicalHashGrid2D.h" |
FCellLocation CalcCellLocation
&40;
const FBox & Bounds
&41; const
Remarks
Finds grid level where the bounds fit inside a cell. Returns cell location of the item, or location at Level == INDEX_NONE if the item cannot fit in the grid.
Parameters
| Name | Description |
|---|---|
| Bounds | Bounding box of the item. |