FNavigationDirtyAreasController

Choose your operating system:

Windows

macOS

Linux

References

Module

NavigationSystem

Header

/Engine/Source/Runtime/NavigationSystem/Public/NavigationDirtyAreasController.h

Include

#include "NavigationDirtyAreasController.h"

Syntax

struct FNavigationDirtyAreasController

Variables

Name Description

Public variable

uint8: 1

 

bCanAccumulateDirtyAreas

Public variable

uint8: 1

 

bDirtyAreasReportedWhileAccumulationLocked

Public variable

TArray< FNaviga...

 

DirtyAreas

Stores areas marked as dirty throughout the frame, processes them once a frame in Tick function

Public variable

float

 

DirtyAreasUpdateFreq

Update frequency for dirty areas on navmesh

Public variable

float

 

DirtyAreasUpdateTime

Temporary cumulative time to calculate when we need to update dirty areas

Constructors

Functions

Name Description

Public function

void

 

AddArea

(
    const FBox& NewArea,
    const int32 Flags,
    const TFunction< UObject*()>&...
)

Add a dirty area to the queue based on the provided bounds and flags.

Public function

void

 

ForceRebuildOnNextTick()

Sets cumulative time to at least one cycle so next tick will rebuild dirty areas

Public function Const

int32

 

GetNumDirtyAreas()

Public function Const

bool

 

HadDirtyAreasReportedWhileAccumulationLocked()

Public function Const

bool

 

IsDirty()

Public function

void

 

OnNavigationBuildLocked()

Public function

void

 

OnNavigationBuildUnlocked()

Public function

void

 

Reset()

Public function

void

 

SetCanReportOversizedDirtyArea

(
    const bool bCanReport
)

Public function

void

 

SetDirtyAreaWarningSizeThreshold

(
    const float Threshold
)

Public function

void

 

Tick

(
    float DeltaSeconds,
    const TArray< ANavigationData*...,
    bool bForceRebuilding
)