Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/AI > API/Runtime/Engine/AI/Navigation
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/AI/Navigation/NavigationTypes.h |
| Include | #include "AI/Navigation/NavigationTypes.h" |
Syntax
struct FNavLinkId
Remarks
NavLink Id type. Legacy Ids were generated using the incremental ID system which has been deprecated but will be supported for quite some time. The new system uses CityHash using GenerateUniqueId() Only NavLinks generated this way should have the most significant bit of the id set to 1.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FNavLinkId () |
|||
FNavLinkId
(
uint64 InId |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FNavLinkId | GenerateUniqueId
(
FNavLinkAuxiliaryId AuxiliaryId, |
Helper function: returns unique ID number for custom links. | |
| uint64 | GetId () |
||
| bool | IsLegacyId () |
New non Legacy NavLinkIds have the most significant bit set to 1. | |
| void | SetId
(
uint64 InId |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FNavLinkId& Other |
||
| bool | operator==
(
const FNavLinkId& Other |
Constants
| Name | Description |
|---|---|
| Invalid | |
| InvalidLinkId | |
| NavLinkIdBitMask |