Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/TSimpleCellGrid > API/Runtime/AIModule/TSimpleCellGrid/Init
References
| Module | AIModule |
| Header | /Engine/Source/Runtime/AIModule/Public/SimpleCellGrid.h |
| Include | #include "SimpleCellGrid.h" |
bool Init
(
const float InCellSize,
const FBox & Bounds
)
Remarks
Initialize the grid from a bounding box True if the grid was initialized properly
Parameters
| Name | Description |
|---|---|
| InCellSize | Size of a cell |
| Bounds | Bounding box the grid needs to encapsulate |