Navigation
API > API/Runtime > API/Runtime/NavigationSystem > API/Runtime/NavigationSystem/ANavigationData
Description
Configures this NavData instance's navigation generation to be suspended or active. It's active by default. If Suspended then all calls to RebuildDirtyAreas will result in caching the request in SuspendedDirtyAreas until SetRebuildingSuspended(false) gets call at which time all the contents of SuspendedDirtyAreas will get pushed to the nav generator and SuspendedDirtyAreas will be cleaned out. Note that calling SetRebuildingSuspended(true) won't suspend the nav generation already in progress. Warning: Leaving generation suspended for extended periods of time can trigger a RebuildAll(). To prevent the queue from growing out of control, it is limited by ai.navigation.MaxDirtyAreasCountWhileSuspended If that limit is reached, upon resuming, the entire navigation data will be rebuilt.
| Name | SetRebuildingSuspended |
| Type | function |
| Header File | /Engine/Source/Runtime/NavigationSystem/Public/NavigationData.h |
| Include Path | #include "NavigationData.h" |
| Source | /Engine/Source/Runtime/NavigationSystem/Private/NavigationData.cpp |
virtual void SetRebuildingSuspended
(
const bool bNewSuspend
)