Navigation
API > API/Runtime > API/Runtime/NavigationSystem > API/Runtime/NavigationSystem/UNavigationSystemV1
Description
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
| Name | CreateNavigationDataInstanceInLevel |
| Type | function |
| Header File | /Engine/Source/Runtime/NavigationSystem/Public/NavigationSystem.h |
| Include Path | #include "NavigationSystem.h" |
| Source | /Engine/Source/Runtime/NavigationSystem/Private/NavigationSystem.cpp |
virtual ANavigationData * CreateNavigationDataInstanceInLevel
(
const FNavDataConfig & NavConfig,
ULevel * SpawnLevel
)