Navigation
API > API/Runtime > API/Runtime/NavigationSystem > API/Runtime/NavigationSystem/UNavigationSystemV1
Description
In actor/component code paths it is possible that updates get called without a previous call to register (wasn't relevant at that time). In those cases we create a new, or an updated, navigation element if needed.
Method expects only navigation relevant objects and will ensure otherwise.
| Name | UpdateNavRelevantObjectInNavOctreeStatic |
| Type | function |
| Header File | /Engine/Source/Runtime/NavigationSystem/Public/NavigationSystem.h |
| Include Path | #include "NavigationSystem.h" |
| Source | /Engine/Source/Runtime/NavigationSystem/Private/NavigationSystem.cpp |
static void UpdateNavRelevantObjectInNavOctreeStatic
(
const INavRelevantInterface & InNavRelevantObject,
const UObject & InObject,
UNavigationSystemV1 * InNavigationSystem,
TFunctionRef < void &, const TSharedRef < const FNavigationElement > &)> InCallback
)