Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/AI
Inheritance Hierarchy
- TSharedFromThis
- FNavDataGenerator
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/AI/NavDataGenerator.h |
Include | #include "AI/NavDataGenerator.h" |
Syntax
class FNavDataGenerator : public TSharedFromThis< FNavDataGenerator, ESPMode::ThreadSafe >
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | CancelBuild () |
Cancels build, may block until current running async tasks are finished |
![]() ![]() |
void | Blocks until build is complete | |
![]() ![]() ![]() |
void | ExportNavigationData
(
const FString& FileName |
|
![]() ![]() ![]() |
int32 | Returns number of remaining tasks till build is complete | |
![]() ![]() ![]() |
int32 | Returns number of currently running tasks | |
![]() ![]() ![]() |
bool | GetTimeSliceData
(
int32& OutNumRemainingBuildTasks, |
|
![]() ![]() ![]() |
void | GrabDebugSnapshot
(
FVisualLogEntry* Snapshot, |
|
![]() ![]() ![]() |
bool | Determines whether this generator is performing navigation building actions at the moment, dirty areas are also checked | |
![]() ![]() ![]() |
uint32 | LogMemUsed () |
Debug |
![]() ![]() |
void | ||
![]() ![]() |
bool | RebuildAll () |
Rebuilds all known navigation data |
![]() ![]() |
void | RebuildDirtyAreas
(
const TArray< FNavigationDirtyArea >& DirtyAreas |
Asks generator to update navigation affected by DirtyAreas |
![]() ![]() |
void | TickAsyncBuild
(
float DeltaSeconds |
Ticks navigation build If the generator is set to time sliced rebuild then this function will only get called when there is sufficient time (effectively roughly once in n frames where n is the number of time sliced nav data / generators currently building) |