Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/FInterpCurve
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/InterpCurve.h |
| Include | #include "Math/InterpCurve.h" |
float FindNearestOnSegment
&40;
const T & PointInSpace,
int32 PtIdx,
float & OutSquaredDistance
&41; const
Remarks
Find the nearest point (to the given point) on segment between Points[PtIdx] and Points[PtIdx+1] The key (the 't' parameter) of the found point.
Parameters
| Name | Description |
|---|---|
| PointInSpace | the given point |