UNavMeshRenderingComponent

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

NavigationSystem

Header

/Engine/Source/Runtime/NavigationSystem/Public/NavMesh/NavMeshRenderingComponent.h

Include

#include "NavMesh/NavMeshRenderingComponent.h"

Syntax

class UNavMeshRenderingComponent : public UDebugDrawComponent

Variables

Name Description

Protected variable

uint32: 1

 

bCollectNavigationData

Protected variable

uint32: 1

 

bForceUpdate

Protected variable

FNavMeshDebugDr...

 

NavMeshDebugDrawDelegateManager

Protected variable

FTimerHandle

 

TimerHandle

Constructors

Name Description

Public function

UNavMeshRenderingComponent

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

ForceUpdate()

Protected function Virtual Const

void

 

GatherData

(
    const ARecastNavMesh& NavMesh,
    FNavMeshSceneProxyData& OutProxyDa...
)

Gathers drawable information from NavMesh and puts it in OutProxyData.

Public function Const

bool

 

IsForcingUpdate()

Public function Static

bool

 

IsNavigationShowFlagSet

(
    const UWorld* World
)

Protected function

void

 

TimerFunction()

Overridden from UDebugDrawComponent

Name Description

Protected function Virtual

FDebugRender...

 

CreateDebugSceneProxy()

Method that derived class should override to create the scene proxy and customize a custom delegate helper (if any)

Protected function Virtual

FDebugDrawDe...

 

GetDebugDrawDelegateHelper()

Method that should be overriden when subclass uses a custom delegate helper.

Overridden from USceneComponent

Name Description

Protected 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

Protected function Virtual

void

 

OnRegister()

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

Protected function Virtual

void

 

OnUnregister()

Called when a component is unregistered.