Curve2DGetClosestOffset Method |
Returns the closest offset to to_point. This offset is meant to be used in InterpolateBaked(Single, Boolean).
to_point must be in this curve's local space.
Namespace: Godot
public float GetClosestOffset( Vector2 toPoint )
[Missing <param name="toPoint"/> documentation for "M:Godot.Curve2D.GetClosestOffset(Godot.Vector2)"]
[Missing <returns> documentation for "M:Godot.Curve2D.GetClosestOffset(Godot.Vector2)"]