UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
NavigationTypes.h File Reference
#include "UObject/ObjectMacros.h"
#include "UObject/Object.h"
#include "UObject/Class.h"
#include "Templates/SubclassOf.h"
#include "Misc/CoreStats.h"
#include "UObject/SoftObjectPath.h"
#include "NavigationTypes.generated.h"

Go to the source code of this file.

Classes

struct  FNavLinkAuxiliaryId
 
struct  FNavLinkId
 
struct  FNavigationPortalEdge
 
struct  FNavLocation
 
struct  FNavPathPoint
 
struct  FNavPathType
 
struct  FMovementProperties
 
struct  FNavMovementProperties
 
struct  FNavAgentProperties
 
struct  FNavDataConfig
 
struct  FNavigationProjectionWork
 
struct  FRayStartEnd
 
struct  FNavigationRaycastWork
 
class  TNavStatArray< InElementType >
 
struct  FNavHeightfieldSamples
 

Namespaces

namespace  FNavigationSystem
 
namespace  ENavPathEvent
 
namespace  ENavPathUpdateType
 
namespace  EPathObservationResult
 
namespace  ENavAreaEvent
 
namespace  ENavigationQueryResult
 
namespace  NavMeshMemory
 

Macros

#define INVALID_NAVQUERYID   uint32(0)
 
#define INVALID_NAVDATA   uint32(0)
 
#define INVALID_NAVEXTENT   (FVector::ZeroVector)
 
#define DEFAULT_NAV_QUERY_EXTENT_HORIZONTAL   50.f
 
#define DEFAULT_NAV_QUERY_EXTENT_VERTICAL   250.f
 
#define INVALID_NAVNODEREF   NavNodeRef(0)
 

Typedefs

typedef uint64 NavNodeRef
 
typedef TSharedRef< struct FNavigationPath, ESPMode::ThreadSafeFNavPathSharedRef
 
typedef TSharedPtr< struct FNavigationPath, ESPMode::ThreadSafeFNavPathSharedPtr
 
typedef TWeakPtr< struct FNavigationPath, ESPMode::ThreadSafeFNavPathWeakPtr
 
typedef FDefaultAllocator NavMeshMemory::FNavAllocator
 

Enumerations

enum class  ENavigationOptionFlag : uint8 { Default , UMETA =(DisplayName = "Yes") , UMETA =(DisplayName = "No") , UMETA =(Hidden) }
 
enum class  ENavDataGatheringModeConfig : uint8 { UMETA =(Hidden) , Instant , Lazy }
 
enum class  ENavigationSortPendingTilesMethod : uint8 { SortWithSeedLocations , SortByPriority , None }
 
enum  ENavigationQueryResult::Type : int { ENavigationQueryResult::Invalid , ENavigationQueryResult::Error , ENavigationQueryResult::Fail , ENavigationQueryResult::Success }
 

Functions

constexpr FBox FNavigationSystem::InvalidBoundingBox (ForceInit, UE::Math::TBoxConstInit{})
 
bool FNavigationSystem::IsValidLocation (const FVector &TestLocation)
 
bool FNavigationSystem::BoxesAreSame (const FBox &A, const FBox &B)
 
ENGINE_API bool FNavigationSystem::IsLevelVisibilityChanging (const UObject *Object)
 
ENGINE_API bool FNavigationSystem::IsInBaseNavmesh (const UObject *Object)
 
 DECLARE_DELEGATE_TwoParams (FNavDataPerInstanceTransformDelegate, const FBox &, TArray< FTransform > &)
 
 DECLARE_DELEGATE_ThreeParams (FNavPathQueryDelegate, uint32, ENavigationQueryResult::Type, FNavPathSharedPtr)
 

Variables

ENGINE_API const float FNavigationSystem::FallbackAgentRadius = 35.f
 
ENGINE_API const float FNavigationSystem::FallbackAgentHeight = 144.f
 
constexpr FVector FNavigationSystem::InvalidLocation = FVector(TNumericLimits<FVector::FReal>::Max(), UE::Math::TVectorConstInit{})
 

Macro Definition Documentation

◆ DEFAULT_NAV_QUERY_EXTENT_HORIZONTAL

#define DEFAULT_NAV_QUERY_EXTENT_HORIZONTAL   50.f

◆ DEFAULT_NAV_QUERY_EXTENT_VERTICAL

#define DEFAULT_NAV_QUERY_EXTENT_VERTICAL   250.f

◆ INVALID_NAVDATA

#define INVALID_NAVDATA   uint32(0)

◆ INVALID_NAVEXTENT

#define INVALID_NAVEXTENT   (FVector::ZeroVector)

◆ INVALID_NAVNODEREF

#define INVALID_NAVNODEREF   NavNodeRef(0)

◆ INVALID_NAVQUERYID

#define INVALID_NAVQUERYID   uint32(0)

Typedef Documentation

◆ FNavPathSharedPtr

◆ FNavPathSharedRef

◆ FNavPathWeakPtr

◆ NavNodeRef

uniform identifier type for navigation data elements may it be a polygon or graph node

Enumeration Type Documentation

◆ ENavDataGatheringModeConfig

Enumerator
UMETA 
Instant 
Lazy 

◆ ENavigationOptionFlag

Enumerator
Default 
UMETA 
UMETA 
UMETA 

◆ ENavigationSortPendingTilesMethod

Enumerator
SortWithSeedLocations 
SortByPriority 
None 

Function Documentation

◆ DECLARE_DELEGATE_ThreeParams()

DECLARE_DELEGATE_ThreeParams ( FNavPathQueryDelegate  ,
uint32  ,
ENavigationQueryResult::Type  ,
FNavPathSharedPtr   
)

Delegate used to communicate that path finding query has been finished.

Parameters
uint32unique Query ID of given query
ENavigationQueryResultenum expressed query result.
FNavPathSharedPtrresulting path. Valid only for ENavigationQueryResult == ENavigationQueryResult::Fail (may contain path leading as close to destination as possible) and ENavigationQueryResult == ENavigationQueryResult::Success

◆ DECLARE_DELEGATE_TwoParams()

DECLARE_DELEGATE_TwoParams ( FNavDataPerInstanceTransformDelegate  ,
const FBox ,
TArray< FTransform > &   
)