Function Navigation.navmeshAdd
Adds a NavigationMesh. Returns an ID for use with navmeshRemove or navmeshSetTransform. If given, a Transform2D is applied to the polygon. The optional owner is used as return value for getClosestPointOwner.
long navmeshAdd
(
NavigationMesh mesh,
const(Transform) xform,
GodotObject owner = GodotObject(godot_object(null))
) nothrow @nogc;