Navigation2D.navpolyAdd

Adds a NavigationPolygon. Returns an ID for use with navpolyRemove or navpolySetTransform. If given, a Transform2D is applied to the polygon. The optional owner is used as return value for getClosestPointOwner.

struct Navigation2D
@nogc nothrow
long
navpolyAdd

Meta