FNavAgentProperties

Properties of representation of an 'agent' (or Pawn) used by AI navigation/pathfinding.

Inheritance Hierarchy

FMovementProperties

FNavAgentProperties

FNavDataConfig

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/AI/Navigation/NavigationTypes.h

Include

#include "AI/Navigation/NavigationTypes.h"

Syntax

struct FNavAgentProperties : public FMovementProperties

Remarks

Properties of representation of an 'agent' (or Pawn) used by AI navigation/pathfinding.

Variables

Name Description

Public variable

float

 

AgentHeight

Total height of the capsule used for navigation/pathfinding.

Public variable

float

 

AgentRadius

Radius of the capsule used for navigation/pathfinding.

Public variable

float

 

AgentStepHeight

Step height to use, or -1 for default value from navdata's config.

Public variable

float

 

NavWalkingSearchHeightScale

Scale factor to apply to height of bounds when searching for navmesh to project to when nav walking

Public variable

FSoftClassPath

 

PreferredNavData

Type of navigation data used by agent, null means "any"

Constructors

Name Description

Public function

FNavAgentProperties

(
    const FNavAgentProperties& Other
)

Public function

FNavAgentProperties

(
    float Radius,
    float Height
)

Functions

Name Description

Public function Const

FVector

 

GetExtent()

Public function Const

bool

 

HasStepHeightOverride()

Public function Const

bool

 

IsEquivalent

(
    const FNavAgentProperties& Other,
    float Precision
)

Public function Const

bool

 

IsNavDataMatching

(
    const FNavAgentProperties& Other
)

Public function Const

bool

 

IsValid()

Public function

void

 

SetPreferredNavData

(
    TSubclassOf< AActor > NavDataClass
)

Public function

void

 

UpdateWithCollisionComponent

(
    UShapeComponent* CollisionComp...
)

Operators

Name Description

Public function

FNavAgentPro...

 

operator=

(
    const FNavAgentProperties& Other
)

Public function Const

bool

 

operator==

(
    const FNavAgentProperties& Other
)

Constants

Name

Description

DefaultProperties

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Cancel