Navigation
API > API/Runtime > API/Runtime/NavigationSystem > API/Runtime/NavigationSystem/FNavigationDirtyAreasController
References
| Module | NavigationSystem |
| Header | /Engine/Source/Runtime/NavigationSystem/Public/NavigationDirtyAreasController.h |
| Include | #include "NavigationDirtyAreasController.h" |
| Source | /Engine/Source/Runtime/NavigationSystem/Private/NavigationDirtyAreasController.cpp |
void AddArea
&40;
const FBox & NewArea,
const int32 Flags,
const TFunction< UObject &42;()> & ObjectProviderFunc,
const FNavigationDirtyElement &42; DirtyElement,
const FName & DebugReason
&41;
Remarks
Add a dirty area to the queue based on the provided bounds and flags. Bounds must be valid and non empty otherwise the request will be ignored and a warning reported. Accumulation must be allowed and flags valid otherwise the add is ignored.
Parameters
| Name | Description |
|---|---|
| NewArea | Bounding box of the affected area |
| Flags | Indicates the type of modification applied to the area |
| ObjectProviderFunc | Optional function to retrieve source object that can be use for error reporting and navmesh exclusion |
| DirtyElement | Optional dirty element |
| DebugReason | Source of the new area |