Navigation2D.getClosestPointOwner

Returns the owner of the NavigationPolygon which contains the navigation point closest to the point given. This is usually a NavigtionPolygonInstance. For polygons added via navpolyAdd, returns the owner that was given (or null if the owner parameter was omitted).

struct Navigation2D
@nogc nothrow
getClosestPointOwner
(
in Vector2 to_point
)

Meta