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...
)

Functions

Name Description

Protected function

void

 

InitializeLinksAreaClasses()

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 UActorComponent

Name Description

Public function Virtual

void

 

OnRegister()

Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called.

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss