Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/TSimpleCellGrid > API/Runtime/AIModule/TSimpleCellGrid/GetCellIndex
References
| Module | AIModule |
| Header | /Engine/Source/Runtime/AIModule/Public/SimpleCellGrid.h |
| Include | #include "SimpleCellGrid.h" |
int32 GetCellIndex
&40;
const FVector & WorldLocation
&41; const
Remarks
Convert world location to cell index, returns -1 for position outside grid