FNavigationDataHandler::UnregisterNavOctreeElement

Removes associated NavOctreeElement and invalidates associated pending updates.

Windows
MacOS
Linux

References

Module

NavigationSystem

Header

/Engine/Source/Runtime/NavigationSystem/Public/NavigationDataHandler.h

Include

#include "NavigationDataHandler.h"

Source

/Engine/Source/Runtime/NavigationSystem/Private/NavigationDataHandler.cpp

Syntax

bool UnregisterNavOctreeElement
(
    UObject & ElementOwner,
    INavRelevantInterface & ElementInterface,
    int32 UpdateFlags
)

Remarks

Removes associated NavOctreeElement and invalidates associated pending updates. Also removes object from the list of children of the NavigationParent, if any.

Returns

True if associated NavOctreeElement has been removed or pending update has been invalidated; false otherwise.

Parameters

Parameter

Description

ElementOwner

Object for which we must remove associated NavOctreeElement

ElementInterface

Object associated NavRelevantInterface to access NavigationParent when registered as children

UpdateFlags

Flags indicating in which context the method is called to allow/forbid certain operations

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss