UNavigationSystemV1::CreateNavigationDataInstanceInLevel

Constructs a navigation data instance of specified NavDataClass, in passed Level for supplied NavConfig.

Windows
MacOS
Linux

References

Module

NavigationSystem

Header

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

Include

#include "NavigationSystem.h"

Source

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

Syntax

virtual ANavigationData * CreateNavigationDataInstanceInLevel
(
    const FNavDataConfig & NavConfig,
    ULevel * SpawnLevel
)

Remarks

Constructs a navigation data instance of specified NavDataClass, in passed Level for supplied NavConfig. If Level == null and bSpawnNavDataInNavBoundsLevel == true then the first volume actor in RegisteredNavBounds will be used to source the level. Otherwise the navdata instance will be spawned in NavigationSystem's world

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