| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/AIModule/Classes/Navigation/NavLocalGridManager.h |
Include |
#include "Navigation/NavLocalGridManager.h" |
class UNavLocalGridManager : public UObject
Manager for local navigation grids
Builds non overlapping grid from multiple sources, that can be used later for pathfinding. Check also: UGridPathFollowingComponent, FNavLocalGridData
Name | Description | ||
---|---|---|---|
|
uint32: 1 |
bNeedsRebuilds |
|
|
CombinedGrids |
||
|
MaxActiveSourceGrids |
||
|
NextGridId |
||
|
SourceGrids |
||
|
VersionNum |
Name | Description | |
---|---|---|
|
UNavLocalGridManager ( |
Name | Description | ||
---|---|---|---|
|
AddGridData ( |
Adds new grid |
|
|
AddLocalNavigationGridForBox |
||
|
AddLocalNavigationGridForCapsule |
||
|
AddLocalNavigationGridForPoint |
Creates new grid data for single point |
|
|
AddLocalNavigationGridForPoints |
Creates single grid data for set of points |
|
|
FindLocalNavigationGridPath |
||
|
FindPath |
Tries to find a path using grids, returns false when start and end locations are not on the same grid |
|
|
float |
GetCellSize() |
Get shared size of grid cell, static but there's only one active manager |
|
UNavLocalGri... |
GetCurrent ( |
|
|
UNavLocalGri... |
GetCurrent ( |
|
|
const FNavLo... |
GetGridData ( |
Get combined, non overlapping grid by index |
|
GetGridIndex ( |
Find combined grid at location |
|
|
GetGridValueAt ( |
Find combined grid value at world location |
|
|
GetMaxActiveSources() |
Get limit of source grids |
|
|
GetNumGrids() |
Get number of combined, non overlapping grids |
|
|
GetNumSources() |
Get number of known source grids |
|
|
const FNavLo... |
GetSourceData ( |
Get source grid by index |
|
GetVersion() |
Get version of grid data, incremented with each rebuild |
|
|
HasSourceGridLimit() |
Check if source grid limit is set |
|
|
ProjectGrids |
Projects combined grids to navigation data |
|
|
RebuildGrids() |
Rebuild overlapping grids if needed |
|
|
RemoveGridData |
Removes grid |
|
|
RemoveLocalNavigationGrid |
||
|
SetCellSize ( |
Set shared size of grid cell, allowed only when there's no grid added |
|
|
SetLocalNavigationGridDensity ( |
||
|
SetMaxActiveSources ( |
Set limit of source grids, 0 or negative means unlimited |
|
|
UpdateAccessTime ( |
Updates LastAccessTime in all source grids |
|
|
UpdateSourceGrids() |
Ensures limit of source grids, removing oldest entries (LastAccessTime) |
Name |
Description |
---|---|
GridCellSize |