FNavDataGenerator

Windows
MacOS
Linux

Inheritance Hierarchy

TSharedFromThis

FNavDataGenerator

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/AI/NavDataGenerator.h

Include

#include "AI/NavDataGenerator.h"

Syntax

Destructors

Name Description

Public function Virtual

~FNavDataGenerator()

Functions

Name Description

Public function Virtual

void

 

CancelBuild()

Cancels build, may block until current running async tasks are finished

Public function Virtual

void

 

EnsureBuildCompletion()

Blocks until build is complete

Public function Virtual Const

void

 

ExportNavigationData

(
    const FString& FileName
)

Public function Virtual Const

int32

 

GetNumRemaningBuildTasks()

Returns number of remaining tasks till build is complete

Public function Virtual Const

int32

 

GetNumRunningBuildTasks()

Returns number of currently running tasks

Public function Virtual Const

void

 

GrabDebugSnapshot

(
    FVisualLogEntry* Snapshot,
    const FBox& BoundingBox,
    const FName& CategoryName,
    ELogVerbosity::Type Verbosity
)

Public function Virtual Const

bool

 

IsBuildInProgress

(
    bool bCheckDirtyToo
)

Determines whether this generator is performing navigation building actions at the moment

Public function Virtual Const

uint32

 

LogMemUsed()

Debug

Public function Virtual

void

 

OnNavigationBoundsChanged()

Public function Virtual

bool

 

RebuildAll()

Rebuilds all known navigation data

Public function Virtual

void

 

RebuildDirtyAreas

(
    const TArray< FNavigationDirtyArea ...
)

Asks generator to update navigation affected by DirtyAreas

Public function Virtual

void

 

TickAsyncBuild

(
    float DeltaSeconds
)

Deprecated Functions

Name Description

Public function Virtual Const

void

 

GrabDebugSnapshot

(
    FVisualLogEntry* Snapshot,
    const FBox& BoundingBox,
    const FLogCategoryBase& Category,
    ELogVerbosity::Type Verbosity
)

This version of GrabDebugSnapshot has been deprecated. Please use the other version of the function.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback