Click or drag to resize

Navigation2DGetClosestPoint Method

Returns the navigation point closest to the point given. Points are in local coordinate space.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Vector2 GetClosestPoint(
	Vector2 toPoint
)

Parameters

toPoint
Type: GodotVector2

[Missing <param name="toPoint"/> documentation for "M:Godot.Navigation2D.GetClosestPoint(Godot.Vector2)"]

Return Value

Type: Vector2

[Missing <returns> documentation for "M:Godot.Navigation2D.GetClosestPoint(Godot.Vector2)"]

See Also