UNavAreaBase::PickAreaClassForAgent

Picks an navigation area class that should be used for Actor when queried by NavAgent.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UNavAreaBase::PickAreaClassForAgent()

UNavAreaMeta_SwitchByAgent::PickAreaClassForAgent()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/AI/Navigation/NavAreaBase.h

Include

#include "AI/Navigation/NavAreaBase.h"

Source

/Engine/Source/Runtime/Engine/Private/AI/Navigation/NavigationTypes.cpp

Syntax

virtual TSubclassOf< UNavAreaBase > PickAreaClassForAgent
(
    const AActor & Actor,
    const FNavAgentProperties & NavAgent
) const

Remarks

Picks an navigation area class that should be used for Actor when queried by NavAgent. Call it via the UNavAreaBase::PickAreaClass