com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Class PolygonBuilder



  • public final class PolygonBuilder
    extends Object
    A helper class to build polygon for Mesh
    • Constructor Detail

      • PolygonBuilder

        public PolygonBuilder(Mesh mesh)
        Initializes a new instance of the PolygonBuilder class.
        Parameters:
        mesh - On which mesh to build polygon.
    • Method Detail

      • begin

        public void begin()
        Begins to add a new polygon
      • addVertex

        public void addVertex(int index)
        Adds a vertex index to the polygon
        Parameters:
        index -
      • end

        public void end()
        Finishes the polygon creation