Navigation2DGetClosestPointOwner Method |
Returns the owner of the NavigationPolygon which contains the navigation point closest to the point given. This is usually a NavigationPolygonInstance. For polygons added via NavpolyAdd(NavigationPolygon, Transform2D, Object), returns the owner that was given (or null if the owner parameter was omitted).
Namespace: Godot
public Object GetClosestPointOwner( Vector2 toPoint )
[Missing <param name="toPoint"/> documentation for "M:Godot.Navigation2D.GetClosestPointOwner(Godot.Vector2)"]
[Missing <returns> documentation for "M:Godot.Navigation2D.GetClosestPointOwner(Godot.Vector2)"]