Function Curve3D.getClosestOffset

Returns the closest offset to to_point. This offset is meant to be used in interpolateBaked or interpolateBakedUpVector. to_point must be in this curve's local space.

double getClosestOffset (
  const(Vector3) to_point
) nothrow @nogc const;