Module |
|
Header |
/Engine/Source/Runtime/NavigationSystem/Public/NavigationSystem.h |
Include |
#include "NavigationSystem.h" |
Source |
/Engine/Source/Runtime/NavigationSystem/Private/NavigationSystem.cpp |
virtual ANavigationData * GetNavDataForProps
(
const FNavAgentProperties & AgentProperties,
const FVector & AgentLocation,
const FVector & Extent
) const
Looks up NavData appropriate for specified movement properties and returns it. NULL if not found; This is the encouraged way of querying for the appropriate NavData. It makes no difference for NavigationSystemV1 (AgentLocation and Extent parameters not being used) but NaV2 will take advantage of it and all engine-level AI navigation code is going to use call this flavor.