UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FNavigationRaycastWork Struct Reference

#include <NavigationTypes.h>

+ Inheritance diagram for FNavigationRaycastWork:

Public Member Functions

 FNavigationRaycastWork (const FVector &InRayStart, const FVector &InRayEnd)
 
- Public Member Functions inherited from FRayStartEnd
 FRayStartEnd (const FVector &InRayStart=FNavigationSystem::InvalidLocation, const FVector &InRayEnd=FNavigationSystem::InvalidLocation)
 

Public Attributes

FNavLocation HitLocation
 
bool bDidHit
 
bool bIsRayEndInCorridor
 
- Public Attributes inherited from FRayStartEnd
const FVector RayStart
 
const FVector RayEnd
 

Constructor & Destructor Documentation

◆ FNavigationRaycastWork()

FNavigationRaycastWork::FNavigationRaycastWork ( const FVector InRayStart,
const FVector InRayEnd 
)
inline

Member Data Documentation

◆ bDidHit

bool FNavigationRaycastWork::bDidHit

◆ bIsRayEndInCorridor

bool FNavigationRaycastWork::bIsRayEndInCorridor

when bDidHit is false, bIsRayEndInCorridor indicates if the projection of RayEnd is located in the corridor explored from the ray. When bIsRayEndInCorridor is false, it means that RayEnd failed to project to the NavigationData or on a navigation node that is not part of the explored corridor (e.g. different height)

◆ HitLocation

FNavLocation FNavigationRaycastWork::HitLocation

depending on bDidHit HitLocation contains either actual hit location or RayEnd


The documentation for this struct was generated from the following file: