Function NavigationPolygon.addOutlineAtIndex
Adds a PoolVector2Array
that contains the vertices of an outline to the internal array that contains all the outlines at a fixed position. You have to call makePolygonsFromOutlines
in order for this array to be converted to polygons that the engine will use.
void addOutlineAtIndex
(
const(PoolArray!(godot.core.vector2.Vector2)) outline,
const(long) index
) nothrow @nogc;