UNavLinkComponent

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

NavigationSystem

Header

/Engine/Source/Runtime/NavigationSystem/Public/NavLinkComponent.h

Include

#include "NavLinkComponent.h"

Syntax

class UNavLinkComponent :
    public UPrimitiveComponent,
    public INavLinkHostInterface

Variables

Name Description

Public variable

TArray< FNaviga...

 

Links

Constructors

Name Description

Public function

UNavLinkComponent

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UPrimitiveComponent

Name Description

Public function Virtual

FPrimitiveSc...

 

CreateSceneProxy()

Creates a proxy to represent the primitive to the scene manager in the rendering thread.

Public function Virtual Const

bool

 

ShouldRecreateProxyOnUpdateTransform()

Determines whether the proxy for this primitive type needs to be recreated whenever the primitive moves.

Overridden from USceneComponent

Name Description

Public function Virtual Const

FBoxSphereBo...

 

CalcBounds

(
    const FTransform& LocalToWorld
)

Calculate the bounds of the component. Default behavior is a bounding box/sphere of zero size.

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

PostEditImport()

Called after importing property values for this object (paste, duplicate or .t3d import) Allow the object to perform any cleanup for properties which shouldn't be duplicated or are unsupported by the script serialization

Public function Virtual

void

 

PostEditUndo()

Called after applying a transaction to the object.

Overridden from INavRelevantInterface

Name Description

Public function Virtual Const

void

 

GetNavigationData

(
    FNavigationRelevantData& Data
)

Prepare navigation modifiers

Public function Virtual Const

bool

 

IsNavigationRelevant()

Are modifiers active?

Overridden from INavLinkHostInterface

Name Description

Public function Virtual Const

bool

 

GetNavigationLinksArray

(
    TArray< FNavigationLink >& OutLink,
    TArray< FNavigationSegmentLink >& ...
)

Optional way of retrieving navigation link data - if INavLinkHostInterface implementer defines custom navigation links then he can just retrieve a list of links

Public function Virtual Const

bool

 

GetNavigationLinksClasses

(
    TArray< TSubclassOf< class UNavLink...
)

Retrieves UNavLinkDefinition derived UClasses hosted by this interface implementor

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback