/Engine/Source/Runtime/Engine/Classes/GameFramework/Pawn.h
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.
void SetCanAffectNavigationGeneration ( bool bNewValue, bool bForceUpdate )