Navigation
API > API/Runtime > API/Runtime/NavigationSystem
Inheritance Hierarchy
- UPrimitiveComponent
- INavLinkHostInterface
- UNavLinkComponent
References
| Module | NavigationSystem |
| Header | /Engine/Source/Runtime/NavigationSystem/Public/NavLinkComponent.h |
| Include | #include "NavLinkComponent.h" |
Syntax
UCLASS (ClassGroup=(Navigation), Meta=(BlueprintSpawnableComponent), HideCategories=(Activation),
MinimalAPI)
class UNavLinkComponent :
public UPrimitiveComponent,
public INavLinkHostInterface
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FNavigationLink > | Links |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UNavLinkComponent
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FBoxSphereBounds | CalcBounds
(
const FTransform& LocalToWorld |
||
| FPrimitiveSceneProxy * | |||
| void | GetNavigationData
(
FNavigationRelevantData& Data |
||
| void | |||
| bool | |||
| void | OnRegister () |
||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
||
| void | |||
| void | PostEditUndo () |
||
| bool |
Overridden from INavLinkHostInterface
| Type | Name | Description | |
|---|---|---|---|
| bool | GetNavigationLinksArray
(
TArray< FNavigationLink >& OutLink, |
Optional way of retrieving navigation link data - if INavLinkHostInterface implementer defines custom navigation links then it can just retrieve a list of links | |
| bool | GetNavigationLinksClasses
(
TArray< TSubclassOf< class UNavLinkDefinition > >& OutClasses |
Retrieves UNavLinkDefinition derived UClasses hosted by this interface implementer |