Navigation
Unreal Engine C++ API Reference > Runtime > NavigationSystem > NavAreas > UNavAreaMeta_SwitchByAgent
- 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 |
virtual TSubclassOf< UNavAreaBase > PickAreaClassForAgent
&40;
const AActor & Actor,
const FNavAgentProperties & NavAgent
&41; const
Remarks
Picks an navigation area class that should be used for Actor when queried by NavAgent. Call it via the UNavAreaBase::PickAreaClass