Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/APawn
Description
Use SetCanAffectNavigationGeneration to change this value at runtime. Note that calling this function at runtime will result in any navigation change only if runtime navigation generation is enabled.
| Name | SetCanAffectNavigationGeneration |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/Pawn.h |
| Include Path | #include "GameFramework/Pawn.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Pawn.cpp |
UFUNCTION (BlueprintCallable, Category="AI|Navigation", Meta=(AdvancedDisplay="bForceUpdate"))
void SetCanAffectNavigationGeneration
(
bool bNewValue,
bool bForceUpdate
)