Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/FInterpCurve > API/Runtime/Core/Math/FInterpCurve/FindNearest
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/InterpCurve.h |
| Include | #include "Math/InterpCurve.h" |
float FindNearest
(
const T & PointInSpace,
float & OutDistanceSq
) const
Remarks
Find the nearest point on spline to the given point. The key (the 't' parameter) of the nearest point.
Parameters
| Name | Description |
|---|---|
| PointInSpace | the given point |
| OutDistanceSq | output - the squared distance between the given point and the closest found point. |