UNavModifierComponent

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

NavigationSystem

Header

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

Include

#include "NavModifierComponent.h"

Syntax

class UNavModifierComponent : public UNavRelevantComponent

Variables

Name Description

Public variable

TSubclassOf< UN...

 

AreaClass

Public variable

uint8: 1

 

bIncludeAgentHeight

Setting to 'true' will result in expanding lower bounding box of the nav modifier by agent's height, before applying to navmesh

Protected variable

FTransform

 

CachedTransform

Cached in CalcAndCacheBounds and tested in GetNavigationData to see if cached data is still valid

Protected variable

TArray< FRotate...

 

ComponentBounds

Public variable

FVector

 

FailsafeExtent

Box extent used ONLY when owning actor doesn't have collision component

Protected variable

FDelegateHandle

 

TransformUpdateHandle

Constructors

Name Description

Public function

UNavModifierComponent

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Protected function

void

 

OnTransformUpdated

(
    USceneComponent* RootComponent,
    EUpdateTransformFlags UpdateTransfo...,
    ETeleportType Teleport
)

Public function

void

 

SetAreaClass

(
    TSubclassOf< UNavArea > NewAreaClas...
)

Overridden from UNavRelevantComponent

Name Description

Public function Virtual Const

void

 

CalcAndCacheBounds()

Overridden from INavRelevantInterface

Name Description

Public function Virtual Const

void

 

GetNavigationData

(
    FNavigationRelevantData& Data
)

Prepare navigation modifiers

Classes

Name

Description

Protected struct

FRotatedBox