Navigation
API > API/Runtime > API/Runtime/NavigationSystem > API/Runtime/NavigationSystem/FNavigationDataHandler
Description
Removes associated NavOctreeElement and invalidates associated pending updates. Also removes element from the list of children of the NavigationParent, if any.
| Name | UnregisterElementWithNavOctree |
| Type | function |
| Header File | /Engine/Source/Runtime/NavigationSystem/Public/NavigationDataHandler.h |
| Include Path | #include "NavigationDataHandler.h" |
| Source | /Engine/Source/Runtime/NavigationSystem/Private/NavigationDataHandler.cpp |
bool UnregisterElementWithNavOctree
(
const TSharedRef < const FNavigationElement > & ElementRef,
int32 UpdateFlags
)
True if associated NavOctreeElement has been removed or pending update has been invalidated; false otherwise.
Parameters
| Name | Remarks |
|---|---|
| ElementRef | Navigation element for which we must remove the associated NavOctreeElement |
| UpdateFlags | Flags indicating in which context the method is called to allow/forbid certain operations |