UNavLinkComponent

Inheritance Hierarchy

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

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

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

void

 

GetNavigationData

(
    FNavigationRelevantData & Data
)

Prepare navigation modifiers

Public function Virtual

bool

 

IsNavigationRelevant()

Are modifiers active?

Overridden from INavLinkHostInterface

Name Description

Public function Virtual

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

bool

 

GetNavigationLinksClasses

(
    TArray < TSubclassOf < class UNavLink ...
)

Retrieves UNavLinkDefinition derived UClasses hosted by this interface implementor

References

Module

Engine

Header

Runtime/Engine/Classes/AI/Navigation/NavLinkComponent.h