UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FNavDataConfig Struct Reference

#include <NavigationTypes.h>

+ Inheritance diagram for FNavDataConfig:

Public Member Functions

ENGINE_API FNavDataConfig (float Radius=FNavigationSystem::FallbackAgentRadius, float Height=FNavigationSystem::FallbackAgentHeight)
 
ENGINE_API FNavDataConfig (const FNavDataConfig &Other)
 
ENGINE_API FNavDataConfigoperator= (const FNavDataConfig &Other)
 
ENGINE_API bool IsValid () const
 
ENGINE_API void Invalidate ()
 
ENGINE_API void SetNavDataClass (UClass *InNavDataClass)
 
ENGINE_API void SetNavDataClass (TSoftClassPtr< AActor > InNavDataClass)
 
template<typename T >
TSubclassOf< T > GetNavDataClass () const
 
ENGINE_API FString GetDescription () const
 
- Public Member Functions inherited from FNavAgentProperties
 FNavAgentProperties (float Radius=-1.f, float Height=-1.f)
 
ENGINE_API FNavAgentProperties (const FNavAgentProperties &Other)
 
ENGINE_API FNavAgentPropertiesoperator= (const FNavAgentProperties &Other)
 
ENGINE_API void UpdateWithCollisionComponent (class UShapeComponent *CollisionComponent)
 
bool IsValid () const
 
bool HasStepHeightOverride () const
 
ENGINE_API bool IsNavDataMatching (const FNavAgentProperties &Other) const
 
bool IsEquivalent (const FNavAgentProperties &Other, float Precision=5.f) const
 
bool operator== (const FNavAgentProperties &Other) const
 
FVector GetExtent () const
 
ENGINE_API void SetPreferredNavData (TSubclassOf< AActor > NavDataClass)
 
- Public Member Functions inherited from FMovementProperties
 FMovementProperties ()
 

Public Attributes

FName Name
 
FColor Color
 
FVector DefaultQueryExtent
 
- Public Attributes inherited from FNavAgentProperties
float AgentRadius
 
float AgentHeight
 
float AgentStepHeight
 
float NavWalkingSearchHeightScale
 
FSoftClassPath PreferredNavData
 
- Public Attributes inherited from FMovementProperties
uint8 bCanCrouch:1
 
uint8 bCanJump:1
 
uint8 bCanWalk:1
 
uint8 bCanSwim:1
 
uint8 bCanFly:1
 

Protected Attributes

TSoftClassPtr< AActorNavDataClass
 

Additional Inherited Members

- Static Public Attributes inherited from FNavAgentProperties
static ENGINE_API const FNavAgentProperties DefaultProperties
 

Constructor & Destructor Documentation

◆ FNavDataConfig() [1/2]

FNavDataConfig::FNavDataConfig ( float  Radius = FNavigationSystem::FallbackAgentRadius,
float  Height = FNavigationSystem::FallbackAgentHeight 
)

◆ FNavDataConfig() [2/2]

FNavDataConfig::FNavDataConfig ( const FNavDataConfig Other)
default

Member Function Documentation

◆ GetDescription()

FString FNavDataConfig::GetDescription ( ) const

◆ GetNavDataClass()

template<typename T >
TSubclassOf< T > FNavDataConfig::GetNavDataClass ( ) const
inline

◆ Invalidate()

void FNavDataConfig::Invalidate ( )

◆ IsValid()

bool FNavDataConfig::IsValid ( ) const

◆ operator=()

FNavDataConfig & FNavDataConfig::operator= ( const FNavDataConfig Other)
default

◆ SetNavDataClass() [1/2]

void FNavDataConfig::SetNavDataClass ( TSoftClassPtr< AActor InNavDataClass)

◆ SetNavDataClass() [2/2]

void FNavDataConfig::SetNavDataClass ( UClass InNavDataClass)

Member Data Documentation

◆ Color

FColor FNavDataConfig::Color

Color used to represent this agent in the editor and for debugging

◆ DefaultQueryExtent

FVector FNavDataConfig::DefaultQueryExtent

Rough size of this agent, used when projecting unto navigation mesh

◆ Name

FName FNavDataConfig::Name

Internal/debug name of this agent

◆ NavDataClass

TSoftClassPtr<AActor> FNavDataConfig::NavDataClass
protected

Class to use when spawning navigation data instance


The documentation for this struct was generated from the following files: