| TSimpleCellGrid
|
Module |
|
Header |
/Engine/Source/Runtime/AIModule/Public/SimpleCellGrid.h |
Include |
#include "SimpleCellGrid.h" |
template<typename CellType, int InvalidCellValue>
struct TSimpleCellGrid
No virtuals on purpose
Name | Description | |
---|---|---|
|
TSimpleCellGrid() |
Name | Description | ||
---|---|---|---|
|
AllocateMemory() |
||
|
CleanUp() |
||
|
FreeMemory() |
||
|
GetAllocatedSize() |
||
|
const FCellT... |
GetCellAtIndexUnsafe ( |
|
|
GetCellAtIndexUnsafe ( |
||
|
const FCellT... |
GetCellAtWorldLocation ( |
|
|
const FCellT... |
GetCellAtWorldLocationUnsafe ( |
|
|
GetCellCoords ( |
Convert world location to (X,Y) coords on grid, result is clamped to grid |
|
|
GetCellCoords ( |
Convert cell index to (X,Y) coords on grid |
|
|
GetCellCoordsUnsafe ( |
Convert world location to (X,Y) coords on grid, result can be outside grid |
|
|
GetCellCoordX ( |
Convert cell index to coord X on grid, result can be invalid |
|
|
GetCellCoordY ( |
Convert cell index to coord Y on grid, result can be invalid |
|
|
GetCellIndex |
Convert (X,Y) coords on grid to cell index, returns -1 for position outside grid |
|
|
GetCellIndex ( |
Convert world location to cell index, returns -1 for position outside grid |
|
|
GetCellIndexUnsafe ( |
Convert world location to cell index, result can be invalid |
|
|
GetCellIndexUnsafe |
Convert (X,Y) coords on grid to cell index, result can be invalid |
|
|
GetCellIndexUnsafe ( |
Convert (X,Y) coords on grid to cell index, result can be invalid |
|
|
GetCellsCount() |
||
|
GetWorldCellBox ( |
||
|
GetWorldCellBox |
||
|
GetWorldCellCenter ( |
||
|
GetWorldCellCenter |
||
|
Init ( |
||
|
IsValid() |
||
|
IsValidCoord ( |
||
|
IsValidCoord |
||
|
IsValidIndex ( |
||
|
Num() |
||
|
Serialize ( |
||
|
UpdateWorldBounds() |
||
|
Zero() |
Name | Description | ||
---|---|---|---|
|
operator[] ( |
||
|
const FCellT... |
operator[] ( |
Name |
Description |
---|---|
FCellType |
Name | Description | ||
---|---|---|---|
|
CellCoordsToCellIndex |
This function is now deprecated, please use GetCellIndex instead. |
|
|
CellIndexToCoords |
This function is now deprecated, please use GetCellCoords instead. |
|
|
CellIndexToCoords ( |
This function is now deprecated, please use GetCellCoords instead. |
|
|
const FCellT... |
GetCellAtWorldLocationSafe ( |
This function is now deprecated, please use GetCellAtWorldLocation instead. |
|
GetValuesMemorySize() |
This function is now deprecated, please use GetAllocatedSize instead. |
|
|
Init |
This function is now deprecated, please use the one with float CellSize argument |
|
|
IsValidCellIndex ( |
This function is now deprecated, please use IsValidIndex instead. |
|
|
WorldToCellCoords ( |
This function is now deprecated, please use GetCellCoords instead. |
|
|
WorldToCellCoords |
This function is now deprecated, please use GetCellCoords instead. |
|
|
WorldToCellIndex ( |
This function is now deprecated, please use GetCellIndex instead. |