Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FNavigationLinkBase |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/AI/Navigation/NavLinkDefinition.h |
| Include Path | #include "AI/Navigation/NavLinkDefinition.h" |
Syntax
USTRUCT (BlueprintType )
struct FNavigationLinkBase
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| AI/Navigation/NavLinkDefinition.h | |||
PRAGMA_DISABLE_DEPRECATION_WARNINGS FNavigationLinkBase
(
const FNavigationLinkBase& |
AI/Navigation/NavLinkDefinition.h | ||
FNavigationLinkBase
(
FNavigationLinkBase&& Other |
AI/Navigation/NavLinkDefinition.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| InvalidUserId | uint32 | Needs to be 0 for recast data generator | AI/Navigation/NavLinkDefinition.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCustomFlag0 | uint8 | Custom flag, check DescribeCustomFlags for details | AI/Navigation/NavLinkDefinition.h | |
| bCustomFlag1 | uint8 | Custom flag, check DescribeCustomFlags for details | AI/Navigation/NavLinkDefinition.h | |
| bCustomFlag2 | uint8 | Custom flag, check DescribeCustomFlags for details | AI/Navigation/NavLinkDefinition.h | |
| bCustomFlag3 | uint8 | Custom flag, check DescribeCustomFlags for details | AI/Navigation/NavLinkDefinition.h | |
| bCustomFlag4 | uint8 | Custom flag, check DescribeCustomFlags for details | AI/Navigation/NavLinkDefinition.h | |
| bCustomFlag5 | uint8 | Custom flag, check DescribeCustomFlags for details | AI/Navigation/NavLinkDefinition.h | |
| bCustomFlag6 | uint8 | Custom flag, check DescribeCustomFlags for details | AI/Navigation/NavLinkDefinition.h | |
| bCustomFlag7 | uint8 | Custom flag, check DescribeCustomFlags for details | AI/Navigation/NavLinkDefinition.h | |
| bIsGenerated | uint8 | Was this link generated by the navigation system | AI/Navigation/NavLinkDefinition.h | |
| bSnapToCheapestArea | uint8 | If set, link will try to snap to the cheapest area in given radius | AI/Navigation/NavLinkDefinition.h |
|
| bSupportsAgent0 | uint32 | AI/Navigation/NavLinkDefinition.h | ||
| bSupportsAgent1 | uint32 | AI/Navigation/NavLinkDefinition.h | ||
| bSupportsAgent10 | uint32 | AI/Navigation/NavLinkDefinition.h | ||
| bSupportsAgent11 | uint32 | AI/Navigation/NavLinkDefinition.h | ||
| bSupportsAgent12 | uint32 | AI/Navigation/NavLinkDefinition.h | ||
| bSupportsAgent13 | uint32 | AI/Navigation/NavLinkDefinition.h | ||
| bSupportsAgent14 | uint32 | AI/Navigation/NavLinkDefinition.h | ||
| bSupportsAgent15 | uint32 | AI/Navigation/NavLinkDefinition.h | ||
| bSupportsAgent2 | uint32 | AI/Navigation/NavLinkDefinition.h | ||
| bSupportsAgent3 | uint32 | AI/Navigation/NavLinkDefinition.h | ||
| bSupportsAgent4 | uint32 | AI/Navigation/NavLinkDefinition.h | ||
| bSupportsAgent5 | uint32 | AI/Navigation/NavLinkDefinition.h | ||
| bSupportsAgent6 | uint32 | AI/Navigation/NavLinkDefinition.h | ||
| bSupportsAgent7 | uint32 | AI/Navigation/NavLinkDefinition.h | ||
| bSupportsAgent8 | uint32 | AI/Navigation/NavLinkDefinition.h | ||
| bSupportsAgent9 | uint32 | AI/Navigation/NavLinkDefinition.h | ||
| bUseSnapHeight | uint8 | AI/Navigation/NavLinkDefinition.h |
|
|
| Description | FString | This is an editor-only property to put descriptions in navlinks setup, to be able to identify it easier | AI/Navigation/NavLinkDefinition.h |
|
| Direction | TEnumAsByte< ENavLinkDirection::Type > | AI/Navigation/NavLinkDefinition.h |
|
|
| FNavigationLinkBase | union FNavigationLinkBase | DEPRECATED AGENT CONFIG. | AI/Navigation/NavLinkDefinition.h | |
| LeftProjectHeight | float | If greater than 0 nav system will attempt to project navlink's start point on geometry below | AI/Navigation/NavLinkDefinition.h |
|
| MaxFallDownLength | float | If greater than 0 nav system will attempt to project navlink's end point on geometry below | AI/Navigation/NavLinkDefinition.h |
|
| NavLinkId | FNavLinkId | AI/Navigation/NavLinkDefinition.h | ||
| SnapHeight | float | AI/Navigation/NavLinkDefinition.h |
|
|
| SnapRadius | float | AI/Navigation/NavLinkDefinition.h |
|
|
| SupportedAgents | FNavAgentSelector | Restrict link only to specified agents | AI/Navigation/NavLinkDefinition.h |
|
| SupportedAgentsBits | uint32 | AI/Navigation/NavLinkDefinition.h | ||
| UserId | uint32 | ID passed to navigation data generator | AI/Navigation/NavLinkDefinition.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AreaClass | TSubclassOf< UNavAreaBase > | Area type of this link (empty = default) | AI/Navigation/NavLinkDefinition.h |
|
| AreaClassOb | TWeakObjectPtr< UClass > | AI/Navigation/NavLinkDefinition.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UClass * GetAreaClass() |
AI/Navigation/NavLinkDefinition.h | ||
bool HasMetaArea() |
AI/Navigation/NavLinkDefinition.h | ||
void InitializeAreaClass
(
const bool bForceRefresh |
AI/Navigation/NavLinkDefinition.h | ||
void PostSerialize
(
const FArchive& Ar |
AI/Navigation/NavLinkDefinition.h | ||
void SetAreaClass
(
UClass* InAreaClass |
AI/Navigation/NavLinkDefinition.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Set up bCustomFlagX properties and expose them for edit | AI/Navigation/NavLinkDefinition.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNavigationLinkBase & operator=
(
const FNavigationLinkBase& Other |
AI/Navigation/NavLinkDefinition.h | ||
FNavigationLinkBase & operator=
(
FNavigationLinkBase&& Other |
AI/Navigation/NavLinkDefinition.h |