FNavAgentProperties

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

Windows
MacOS
Linux

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

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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback