UNavAreaBase::PickAreaClassForAgent

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

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss