UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ANavModifierVolume Class Reference

#include <NavModifierVolume.h>

+ Inheritance diagram for ANavModifierVolume:

Public Member Functions

NAVIGATIONSYSTEM_API ANavModifierVolume (const FObjectInitializer &ObjectInitializer)
 
NAVIGATIONSYSTEM_API void SetAreaClass (TSubclassOf< UNavArea > NewAreaClass={})
 
NAVIGATIONSYSTEM_API void SetAreaClassToReplace (TSubclassOf< UNavArea > NewAreaClassToReplace={})
 
TSubclassOf< UNavAreaGetAreaClass () const
 
TSubclassOf< UNavAreaGetAreaClassToReplace () const
 
virtual NAVIGATIONSYSTEM_API void GetNavigationData (FNavigationRelevantData &Data) const override
 
virtual NAVIGATIONSYSTEM_API FBox GetNavigationBounds () const override
 
virtual NAVIGATIONSYSTEM_API void RebuildNavigationData () override
 

Protected Member Functions

virtual NAVIGATIONSYSTEM_API void PostInitProperties () override
 
virtual NAVIGATIONSYSTEM_API void BeginDestroy () override
 

Protected Attributes

TSubclassOf< UNavAreaAreaClass
 
TSubclassOf< UNavAreaAreaClassToReplace
 
bool bMaskFillCollisionUnderneathForNavmesh
 
ENavigationDataResolution NavMeshResolution
 

Detailed Description

Allows applying selected AreaClass to navmesh, using Volume's shape

Constructor & Destructor Documentation

◆ ANavModifierVolume()

ANavModifierVolume::ANavModifierVolume ( const FObjectInitializer ObjectInitializer)

Member Function Documentation

◆ BeginDestroy()

void ANavModifierVolume::BeginDestroy ( )
overrideprotectedvirtual

◆ GetAreaClass()

TSubclassOf< UNavArea > ANavModifierVolume::GetAreaClass ( ) const
inline

◆ GetAreaClassToReplace()

TSubclassOf< UNavArea > ANavModifierVolume::GetAreaClassToReplace ( ) const
inline

◆ GetNavigationBounds()

FBox ANavModifierVolume::GetNavigationBounds ( ) const
overridevirtual

Get bounds for navigation octree

Reimplemented from INavRelevantInterface.

◆ GetNavigationData()

void ANavModifierVolume::GetNavigationData ( FNavigationRelevantData Data) const
overridevirtual

Prepares navigation modifiers

Reimplemented from INavRelevantInterface.

◆ PostInitProperties()

void ANavModifierVolume::PostInitProperties ( )
overrideprotectedvirtual

◆ RebuildNavigationData()

void ANavModifierVolume::RebuildNavigationData ( )
overridevirtual

◆ SetAreaClass()

void ANavModifierVolume::SetAreaClass ( TSubclassOf< UNavArea NewAreaClass = {})

◆ SetAreaClassToReplace()

void ANavModifierVolume::SetAreaClassToReplace ( TSubclassOf< UNavArea NewAreaClassToReplace = {})

Member Data Documentation

◆ AreaClass

TSubclassOf<UNavArea> ANavModifierVolume::AreaClass
protected

NavArea to apply inside the defined volume.

◆ AreaClassToReplace

TSubclassOf<UNavArea> ANavModifierVolume::AreaClassToReplace
protected

When setting this value, the modifier volume behavior changes : it will now replace any surface marked by AreaClassToReplace in the volume and replace it with AreaClass.

◆ bMaskFillCollisionUnderneathForNavmesh

bool ANavModifierVolume::bMaskFillCollisionUnderneathForNavmesh
protected

Experimental: if set, the 2D space occupied by the volume box will ignore FillCollisionUnderneathForNavmesh

◆ NavMeshResolution

ENavigationDataResolution ANavModifierVolume::NavMeshResolution
protected

Experimental: When not set to None, the navmesh tiles touched by the navigation modifier volume will be built using the highest resolution found.


The documentation for this class was generated from the following files: