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 AddAreas
(
const TConstArrayView< FBox > NewAreas,
const int32 Flags,
const TFunction< UObject *()> & ObjectProviderFunc,
const FNavigationDirtyElement * DirtyElement,
const FName & DebugReason
)
Remarks
Add non empty list of dirty areas 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. A check will be triggered if an empty array is provided.
Parameters
| Name | Description |
|---|---|
| NewAreas | Array of bounding boxes of the affected areas |
| 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 |