Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FSquare2DGridHelper > API/Runtime/Engine/FSquare2DGridHelper/FGrid2D
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetCellIndex
(
const FGridCellCoord2& InCoords, |
Returns the cell index of the provided coords | WorldPartition/RuntimeSpatialHash/RuntimeSpatialHashGridHelper.h | |
bool GetCellIndex
(
const FVector& InPos, |
Returns the cell index of the provided position | WorldPartition/RuntimeSpatialHash/RuntimeSpatialHashGridHelper.h |
GetCellIndex(const FGridCellCoord2 &, uint64 &)
Description
Returns the cell index of the provided coords
| Name | GetCellIndex |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/WorldPartition/RuntimeSpatialHash/RuntimeSpatialHashGridHelper.h |
| Include Path | #include "WorldPartition/RuntimeSpatialHash/RuntimeSpatialHashGridHelper.h" |
bool GetCellIndex
(
const FGridCellCoord2 & InCoords,
uint64 & OutIndex
) const
true if the coords was inside the grid
GetCellIndex(const FVector &, uint64 &)
Description
Returns the cell index of the provided position
| Name | GetCellIndex |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/WorldPartition/RuntimeSpatialHash/RuntimeSpatialHashGridHelper.h |
| Include Path | #include "WorldPartition/RuntimeSpatialHash/RuntimeSpatialHashGridHelper.h" |
bool GetCellIndex
(
const FVector & InPos,
uint64 & OutIndex
) const
true if the position was inside the grid