Navigation
Unreal Engine C++ API Reference > Runtime > Engine > AI > Navigation
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
USTRUCT (BlueprintType )
struct FNavAgentProperties : public FMovementProperties
Remarks
Properties of representation of an 'agent' (or Pawn) used by AI navigation/pathfinding.
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() ![]() |
float | AgentHeight | Total height of the capsule used for navigation/pathfinding. |
![]() ![]() ![]() ![]() |
float | AgentRadius | Radius of the capsule used for navigation/pathfinding. |
![]() ![]() ![]() ![]() |
float | AgentStepHeight | Step height to use, or -1 for default value from navdata's config. |
![]() ![]() ![]() ![]() |
float | NavWalkingSearchHeightScale | Scale factor to apply to height of bounds when searching for navmesh to project to when nav walking |
![]() ![]() ![]() ![]() |
FSoftClassPath | PreferredNavData | Type of navigation data used by agent, null means "any" |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FNavAgentProperties
(
const FNavAgentProperties& Other |
||
![]() |
FNavAgentProperties
(
float Radius, |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FVector | GetExtent () |
|
![]() ![]() |
bool | ||
![]() ![]() |
bool | IsEquivalent
(
const FNavAgentProperties& Other, |
|
![]() ![]() |
bool | IsNavDataMatching
(
const FNavAgentProperties& Other |
|
![]() ![]() |
bool | IsValid () |
|
![]() |
void | SetPreferredNavData
(
TSubclassOf< AActor > NavDataClass |
|
![]() |
void | UpdateWithCollisionComponent
(
UShapeComponent* CollisionComponent |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
FNavAgentProperties & | operator=
(
const FNavAgentProperties& Other |
|
![]() ![]() |
bool | operator==
(
const FNavAgentProperties& Other |
Constants
Name | Description |
---|---|
DefaultProperties |