Navigation
Unreal Engine C++ API Reference > Runtime > NavigationSystem > ANavigationData
References
Module | NavigationSystem |
Header | /Engine/Source/Runtime/NavigationSystem/Public/NavigationData.h |
Include | #include "NavigationData.h" |
bool Raycast
&40;
const FVector & RayStart,
const FVector & RayEnd,
FVector & HitLocation,
FSharedConstNavQueryFilter QueryFilter,
const UObject &42; Querier
&41; const
Remarks
Synchronously makes a raycast on navigation data using QueryFilter
don't make this function virtual! Look at implementation details and its comments for more info. true if line from RayStart to RayEnd is obstructed
Parameters
Name | Description |
---|---|
HitLocation | if line was obstructed this will be set to hit location. Otherwise it contains SegmentEnd |