Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FNavDataGenerator |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/AI/NavDataGenerator.h |
| Include Path | #include "AI/NavDataGenerator.h" |
Syntax
class FNavDataGenerator : public TSharedFromThis< FNavDataGenerator, ESPMode::ThreadSafe >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FNavDataGenerator
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FNavDataGenerator() |
AI/NavDataGenerator.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CancelBuild() |
Cancels build, may block until current running async tasks are finished | AI/NavDataGenerator.h | |
virtual void EnsureBuildCompletion() |
Blocks until build is complete | AI/NavDataGenerator.h | |
virtual void ExportNavigationData
(
const FString& FileName |
AI/NavDataGenerator.h | ||
virtual int32 GetNumRemaningBuildTasks() |
Returns number of remaining tasks till build is complete | AI/NavDataGenerator.h | |
virtual int32 GetNumRunningBuildTasks() |
Returns number of currently running tasks | AI/NavDataGenerator.h | |
virtual bool GetTimeSliceData
(
int32& OutNumRemainingBuildTasks, |
AI/NavDataGenerator.h | ||
virtual void GrabDebugSnapshot
(
FVisualLogEntry* Snapshot, |
AI/NavDataGenerator.h | ||
virtual bool IsBuildInProgressCheckDirty() |
Determines whether this generator is performing navigation building actions at the moment, dirty areas are also checked | AI/NavDataGenerator.h | |
virtual uint32 LogMemUsed() |
Debug | AI/NavDataGenerator.h | |
virtual void OnNavigationBoundsChanged() |
AI/NavDataGenerator.h | ||
virtual bool RebuildAll() |
Rebuilds all known navigation data | AI/NavDataGenerator.h | |
virtual void RebuildDirtyAreas
(
const TArray< FNavigationDirtyArea >& DirtyAreas |
Asks generator to update navigation affected by DirtyAreas | AI/NavDataGenerator.h | |
virtual 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) | AI/NavDataGenerator.h |