Navigation
API > API/Runtime > API/Runtime/Engine
Properties of representation of an 'agent' (or Pawn) used by AI navigation/pathfinding.
| Name | FNavAgentProperties |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/AI/Navigation/NavigationTypes.h |
| Include Path | #include "AI/Navigation/NavigationTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FNavAgentProperties : public FMovementProperties
Inheritance Hierarchy
- FMovementProperties → FNavAgentProperties
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNavAgentProperties
(
const FNavAgentProperties& Other |
AI/Navigation/NavigationTypes.h | ||
FNavAgentProperties
(
float Radius, |
AI/Navigation/NavigationTypes.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DefaultProperties | const FNavAgentProperties | AI/Navigation/NavigationTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AgentHeight | float | Total height of the capsule used for navigation/pathfinding. | AI/Navigation/NavigationTypes.h |
|
| AgentRadius | float | Radius of the capsule used for navigation/pathfinding. | AI/Navigation/NavigationTypes.h |
|
| AgentStepHeight | float | Step height to use, or -1 for default value from navdata's config. | AI/Navigation/NavigationTypes.h |
|
| NavWalkingSearchHeightScale | float | Scale factor to apply to height of bounds when searching for navmesh to project to when nav walking | AI/Navigation/NavigationTypes.h |
|
| PreferredNavData | FSoftClassPath | Type of navigation data used by agent, null means "any" | AI/Navigation/NavigationTypes.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVector GetExtent() |
AI/Navigation/NavigationTypes.h | ||
bool HasStepHeightOverride() |
AI/Navigation/NavigationTypes.h | ||
bool IsEquivalent
(
const FNavAgentProperties& Other, |
AI/Navigation/NavigationTypes.h | ||
bool IsNavDataMatching
(
const FNavAgentProperties& Other |
AI/Navigation/NavigationTypes.h | ||
bool IsValid() |
AI/Navigation/NavigationTypes.h | ||
void SetPreferredNavData
(
TSubclassOf< AActor > NavDataClass |
AI/Navigation/NavigationTypes.h | ||
void UpdateWithCollisionComponent
(
UShapeComponent* CollisionComponent |
AI/Navigation/NavigationTypes.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNavAgentProperties & operator=
(
const FNavAgentProperties& Other |
AI/Navigation/NavigationTypes.h | ||
bool operator==
(
const FNavAgentProperties& Other |
AI/Navigation/NavigationTypes.h |