Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/TSimpleCellGrid
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool Init
(
const float InCellSize, |
Initialize the grid from a bounding box | SimpleCellGrid.h | |
bool Init
(
const float InCellSize, |
Initialize the grid | SimpleCellGrid.h |
Init(const float, const FBox &)
Description
Initialize the grid from a bounding box
| Name | Init |
| Type | function |
| Header File | /Engine/Source/Runtime/AIModule/Public/SimpleCellGrid.h |
| Include Path | #include "SimpleCellGrid.h" |
bool Init
(
const float InCellSize,
const FBox & Bounds
)
True if the grid was initialized properly
Parameters
| Name | Remarks |
|---|---|
| InCellSize | Size of a cell |
| Bounds | Bounding box the grid needs to encapsulate |
Init(const float, const FGridSize2D &, const FVector &, const float)
Description
Initialize the grid
| Name | Init |
| Type | function |
| Header File | /Engine/Source/Runtime/AIModule/Public/SimpleCellGrid.h |
| Include Path | #include "SimpleCellGrid.h" |
bool Init
(
const float InCellSize,
const FGridSize2D & InGridSize,
const FVector & InOrigin,
const float VerticalBoundSize
)
True if the grid was initialized properly
Parameters
| Name | Remarks |
|---|---|
| InCellSize | Size of a cell |
| InGridSize | Amount of cells needed in each direction |
| InOrigin | World location of the grid |
| VerticalBoundSize | Size of the grid above and under the Origin |