Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FSquare2DGridHelper > API/Runtime/Engine/FSquare2DGridHelper/FGrid2D
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 ForEachIntersectingCells
(
const FBox& InBox, |
WorldPartition/RuntimeSpatialHash/RuntimeSpatialHashGridHelper.h | ||
int32 ForEachIntersectingCells
(
const FSphere& InSphere, |
Runs a function on all intersecting cells for the provided sphere | WorldPartition/RuntimeSpatialHash/RuntimeSpatialHashGridHelper.h | |
int32 ForEachIntersectingCells
(
const FSphericalSector& InShape, |
Runs a function on all intersecting cells for the provided spherical sector | WorldPartition/RuntimeSpatialHash/RuntimeSpatialHashGridHelper.h |
ForEachIntersectingCells(const FBox &, TFunctionRef< void(const FGridCellCoord2 &)>)
| Name | ForEachIntersectingCells |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/WorldPartition/RuntimeSpatialHash/RuntimeSpatialHashGridHelper.h |
| Include Path | #include "WorldPartition/RuntimeSpatialHash/RuntimeSpatialHashGridHelper.h" |
int32 ForEachIntersectingCells
(
const FBox & InBox,
TFunctionRef < void> InOperation
) const
ForEachIntersectingCells(const FSphere &, TFunctionRef< void(const FGridCellCoord2 &)>)
Description
Runs a function on all intersecting cells for the provided sphere
| Name | ForEachIntersectingCells |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/WorldPartition/RuntimeSpatialHash/RuntimeSpatialHashGridHelper.h |
| Include Path | #include "WorldPartition/RuntimeSpatialHash/RuntimeSpatialHashGridHelper.h" |
int32 ForEachIntersectingCells
(
const FSphere & InSphere,
TFunctionRef < void> InOperation
) const
the number of intersecting cells
ForEachIntersectingCells(const FSphericalSector &, TFunctionRef< void(const FGridCellCoord2 &)>)
Description
Runs a function on all intersecting cells for the provided spherical sector
| Name | ForEachIntersectingCells |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/WorldPartition/RuntimeSpatialHash/RuntimeSpatialHashGridHelper.h |
| Include Path | #include "WorldPartition/RuntimeSpatialHash/RuntimeSpatialHashGridHelper.h" |
| Source | /Engine/Source/Runtime/Engine/Private/WorldPartition/RuntimeSpatialHash/RuntimeSpatialHashGridHelper.cpp |
int32 ForEachIntersectingCells
(
const FSphericalSector & InShape,
TFunctionRef < void> InOperation
) const
the number of intersecting cells