Navigation
Unreal Engine C++ API Reference > Runtime > NavigationSystem > UNavigationSystemV1
References
Module | NavigationSystem |
Header | /Engine/Source/Runtime/NavigationSystem/Public/NavigationSystem.h |
Include | #include "NavigationSystem.h" |
Source | /Engine/Source/Runtime/NavigationSystem/Private/NavigationSystem.cpp |
static void ConfigureAsStatic
&40;
bool bEnableStatic
&41;
Remarks
Call with bEnableStatic == true to signal the NavigationSystem it doesn't need to store any navigation-generation-related data at game runtime, because nothing is going to use it anyway. This will short-circuit all code related to navmesh rebuilding, so use it only if you have fully static navigation in your game. bEnableStatic = false will reset the mechanism. Note: this is not a runtime switch. It's highly advisable not to call it manually and use UNavigationSystemModuleConfig.bStrictlyStatic instead