UNavigationSystemV1::GetNavDataForProps

Looks up NavData appropriate for specified movement properties and returns it.

Windows
MacOS
Linux

References

Module

NavigationSystem

Header

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

Include

#include "NavigationSystem.h"

Source

/Engine/Source/Runtime/NavigationSystem/Private/NavigationSystem.cpp

Syntax

virtual ANavigationData * GetNavDataForProps
(
    const FNavAgentProperties & AgentProperties,
    const FVector & AgentLocation,
    const FVector & Extent
) const

Remarks

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.

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