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 FGridSize2D & InGridSize,
const FVector & InOrigin,
const float VerticalBoundSize
)
Remarks
Initialize the grid True if the grid was initialized properly
Parameters
| Name | Description |
|---|---|
| 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 |