nape.geom.GeomVertexIterator

type
class
Haxe compatible iterator over vertices of GeomPoly.

Vec2's intrinsically tied to the vertices are exposed through the iterator which does not modify the state of the polygon.

Instance Methods

function hasNext():Bool

+ Check if there are any vertices remaining.

function next():Vec2

+ Return next vertex in list.