UNavAreaMeta_SwitchByAgent::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

NavigationSystem

Header

/Engine/Source/Runtime/NavigationSystem/Public/NavAreas/NavAreaMeta_SwitchByAgent.h

Include

#include "NavAreas/NavAreaMeta_SwitchByAgent.h"

Source

/Engine/Source/Runtime/NavigationSystem/Private/NavAreas/NavAreaMeta_SwitchByAgent.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