Navigation
API > API/Runtime > API/Runtime/AIModule
References
| Module | AIModule |
| Header | /Engine/Source/Runtime/AIModule/Public/GeomUtils.h |
| Include | #include "GeomUtils.h" |
namespace UE
{
namespace AI
{
FVector2D::FReal UE::AI::ProjectPointOnSegment2D
(
const FVector Point,
const FVector Start,
const FVector End
)
}
}
value in range [0..1] of the 'Point' project on segment 'Start-End'. Using X and Y components of 3D vectors.