![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#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< UNavArea > | GetAreaClass () const |
| TSubclassOf< UNavArea > | GetAreaClassToReplace () 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< UNavArea > | AreaClass |
| TSubclassOf< UNavArea > | AreaClassToReplace |
| bool | bMaskFillCollisionUnderneathForNavmesh |
| ENavigationDataResolution | NavMeshResolution |
Allows applying selected AreaClass to navmesh, using Volume's shape
| ANavModifierVolume::ANavModifierVolume | ( | const FObjectInitializer & | ObjectInitializer | ) |
|
overrideprotectedvirtual |
|
inline |
|
inline |
|
overridevirtual |
Get bounds for navigation octree
Reimplemented from INavRelevantInterface.
|
overridevirtual |
Prepares navigation modifiers
Reimplemented from INavRelevantInterface.
|
overrideprotectedvirtual |
|
overridevirtual |
| void ANavModifierVolume::SetAreaClass | ( | TSubclassOf< UNavArea > | NewAreaClass = {} | ) |
| void ANavModifierVolume::SetAreaClassToReplace | ( | TSubclassOf< UNavArea > | NewAreaClassToReplace = {} | ) |
|
protected |
NavArea to apply inside the defined volume.
|
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.
|
protected |
Experimental: if set, the 2D space occupied by the volume box will ignore FillCollisionUnderneathForNavmesh
|
protected |
Experimental: When not set to None, the navmesh tiles touched by the navigation modifier volume will be built using the highest resolution found.