GeomVertexIterator
nape.geom.GeomVertexIterator (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 Members
@private
Check if there are any vertices remaining.
Returns | Description |
---|---|
Bool | True if there are more vertices to iterate over. |
Return next vertex in list.
The vertex is represented by an intrinsically linked Vec2
unique to that vertex, which cannot be diposed of.
Returns | Description |
---|---|
Vec2 | The next vertex in iteration. |
@private