UNavRelevantComponent

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

NavigationSystem

Header

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

Include

#include "NavRelevantComponent.h"

Syntax

class UNavRelevantComponent :
    public UActorComponent,
    public INavRelevantInterface

Variables

Name Description

Protected variable

uint32: 1

 

bAttachToOwnersRoot

Attach navigation data to entry for owner's root component (depends on its relevancy)

Protected variable

uint32: 1

 

bBoundsInitialized

Protected variable

FBox

 

Bounds

Bounds for navigation octree

Protected variable

UObject *

 

CachedNavParent

Constructors

Name Description

Public function

UNavRelevantComponent

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Virtual Const

void

 

CalcAndCacheBounds()

Public function

void

 

ForceNavigationRelevancy

(
    bool bForce
)

Force relevancy and skip attaching navigation data to owner's root entry

Public function

void

 

RefreshNavigationModifiers()

Force refresh in navigation octree

Public function

void

 

SetNavigationRelevancy

(
    bool bRelevant
)

Overridden from UActorComponent

Name Description

Public function Virtual Const

bool

 

IsNavigationRelevant()

Override to specify that a component is relevant to the navigation system

Public function Virtual

void

 

OnRegister()

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

Public function Virtual

void

 

OnUnregister()

Called when a component is unregistered.

Overridden from INavRelevantInterface

Name Description

Public function Virtual Const

FBox

 

GetNavigationBounds()

Get bounds for navigation octree

Public function Virtual Const

UObject *...

 

GetNavigationParent()

Get navigation parent Adds modifiers to existing octree node, GetNavigationBounds and IsNavigationRelevant won't be checked

Public function Virtual

void

 

UpdateNavigationBounds()

Update bounds, called after moving owning actor

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