FNavAgentProperties

Inheritance Hierarchy

FMovementProperties

FNavAgentProperties

FNavDataConfig

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

TSubclassOf < AN ...

 

PreferredNavData

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

Public variable

*FSoftClass ...

 

PreferredNavData

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 Const

bool

 

operator==

(
    const FNavAgentProperties & Other
)

Constants

Name

Description

DefaultProperties

References

Module

Engine

Header

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