Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/WorldPartition > API/Runtime/Engine/WorldPartition/RuntimeSpatialHash > API/Runtime/Engine/WorldPartition/RuntimeSpatialHash/FSquare2DGridHelper > API/Runtime/Engine/WorldPartition/RuntimeSpatialHash/FSquare2DGridHelper/FGrid2D > API/Runtime/Engine/WorldPartition/RuntimeSpatialHash/FSquare2DGridHelper/FGrid2D/GetCellIndex
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/WorldPartition/RuntimeSpatialHash/RuntimeSpatialHashGridHelper.h |
| Include | #include "WorldPartition/RuntimeSpatialHash/RuntimeSpatialHashGridHelper.h" |
bool GetCellIndex
&40;
const FGridCellCoord2 & InCoords,
uint64 & OutIndex
&41; const
Remarks
Returns the cell index of the provided coords true if the coords was inside the grid