UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
NavSystemConfigOverride.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#if UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_4
6#include "CoreMinimal.h"
7#endif
11#include "NavSystemConfigOverride.generated.h"
12
13
15
16UENUM()
18{
19 Override, // the pre-existing nav system instance will be destroyed.
20 Append, // config information will be added to pre-existing nav system instance
21 Skip // if there's already a NavigationSystem in the world then the overriding config will be ignored
22};
23
24
25UCLASS(hidecategories = (Input, Rendering, Actor, LOD, Cooking), MinimalAPI)
27{
29
30#if WITH_EDITORONLY_DATA
31private:
32 UPROPERTY()
34#endif // WITH_EDITORONLY_DATA
35
36protected:
37 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Navigation, Instanced, meta = (NoResetToDefault))
38 TObjectPtr<UNavigationSystemConfig> NavigationSystemConfig;
39
41 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = Navigation)
43
44 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Navigation, AdvancedDisplay)
45 uint8 bLoadOnClient : 1;
46
47public:
49
50 //~ Begin UObject Interface
52#if WITH_EDITOR
53 NAVIGATIONSYSTEM_API virtual void PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent) override;
54#endif // WITH_EDITOR
55 //~ End UObject Interface
56
57 //~ Begin AActor Interface
58 NAVIGATIONSYSTEM_API virtual void BeginPlay() override;
59#if WITH_EDITOR
60 NAVIGATIONSYSTEM_API virtual void PostRegisterAllComponents() override;
61 NAVIGATIONSYSTEM_API virtual void PostUnregisterAllComponents() override;
62#endif
63 //~ End AActor Interface
64
65#if WITH_EDITOR
67 UFUNCTION(Category = Navigation, meta = (CallInEditor = "true"))
68 NAVIGATIONSYSTEM_API void ApplyChanges();
69 //virtual void CheckForErrors() override;
70#endif
71
72protected:
75 NAVIGATIONSYSTEM_API virtual void OverrideNavSystem();
76
79 NAVIGATIONSYSTEM_API virtual void AppendToNavSystem(UNavigationSystemBase& PrevNavSys);
80
81#if WITH_EDITOR
84#endif // WITH_EDITOR
85
86 NAVIGATIONSYSTEM_API void ApplyConfig();
87};
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
ENavSystemOverridePolicy
Definition NavSystemConfigOverride.h:18
FNavigationSystemRunMode
Definition NavigationSystemBase.h:34
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UFUNCTION(...)
Definition ObjectMacros.h:745
#define UCLASS(...)
Definition ObjectMacros.h:776
#define UENUM(...)
Definition ObjectMacros.h:749
uint8_t uint8
Definition binka_ue_file_header.h:8
Definition Actor.h:257
Definition NavSystemConfigOverride.h:27
Definition UObjectGlobals.h:1292
Definition NavigationSystemBase.h:245
Definition NavigationSystemConfig.h:15
virtual COREUOBJECT_API void PostInitProperties()
Definition UObjectGlobals.cpp:3961
Definition World.h:918
Definition UnrealType.h:6865
Definition ObjectPtr.h:488