#include <RuntimeSpatialHashGridHelper.h>
|
| | FGridLevel (const FVector2D &InOrigin, int64 InCellSize, int64 InGridSize, int32 InLevel) |
| |
| FGridCell & | GetCell (const FGridCellCoord2 &InCoords) |
| |
| const FGridCell & | GetCell (const FGridCellCoord2 &InCoords) const |
| |
| | FGrid2D (const FVector2D &InOrigin, int64 InCellSize, int64 InGridSize) |
| |
| bool | IsValidCoords (const FGridCellCoord2 &InCoords) const |
| |
| bool | GetCellBounds (int64 InIndex, FBox2D &OutBounds) const |
| |
| bool | GetCellBounds (const FGridCellCoord2 &InCoords, FBox2D &OutBounds, bool bCheckIsValidCoord=true) const |
| |
| bool | GetCellCoords (const FVector2D &InPos, FGridCellCoord2 &OutCoords) const |
| |
| bool | GetCellCoords (const FBox2D &InBounds2D, FGridCellCoord2 &OutMinCellCoords, FGridCellCoord2 &OutMaxCellCoords) const |
| |
| bool | GetCellIndex (const FGridCellCoord2 &InCoords, uint64 &OutIndex) const |
| |
| bool | GetCellIndex (const FVector &InPos, uint64 &OutIndex) const |
| |
| int32 | GetNumIntersectingCells (const FBox &InBox) const |
| |
| int32 | ForEachIntersectingCellsBreakable (const FBox &InBox, TFunctionRef< bool(const FGridCellCoord2 &)> InOperation) const |
| |
| int32 | ForEachIntersectingCells (const FBox &InBox, TFunctionRef< void(const FGridCellCoord2 &)> InOperation) const |
| |
| int32 | ForEachIntersectingCells (const FSphere &InSphere, TFunctionRef< void(const FGridCellCoord2 &)> InOperation) const |
| |
| int32 | ForEachIntersectingCells (const FSphericalSector &InShape, TFunctionRef< void(const FGridCellCoord2 &)> InOperation) const |
| |
◆ FGridLevel()
| FSquare2DGridHelper::FGridLevel::FGridLevel |
( |
const FVector2D & |
InOrigin, |
|
|
int64 |
InCellSize, |
|
|
int64 |
InGridSize, |
|
|
int32 |
InLevel |
|
) |
| |
|
inline |
◆ GetCell() [1/2]
Returns the cell at the specified grid coordinate
- Returns
- the cell at the specified grid coordinate
◆ GetCell() [2/2]
Returns the cell at the specified grid coordinate
- Returns
- the cell at the specified grid coordinate
◆ Cells
◆ CellsMapping
◆ Level
| int32 FSquare2DGridHelper::FGridLevel::Level |
The documentation for this struct was generated from the following file: