public final class PolygonBuilder
extends java.lang.Object
Mesh| Constructor and Description |
|---|
PolygonBuilder(Mesh mesh)
Initializes a new instance of the
PolygonBuilder class. |
| Modifier and Type | Method and Description |
|---|---|
void |
addVertex(int index)
Adds a vertex index to the polygon
|
void |
begin()
Begins to add a new polygon
|
void |
end()
Finishes the polygon creation
|
public PolygonBuilder(Mesh mesh)
PolygonBuilder class.mesh - On which mesh to build polygon.