Package snap.gfx3d

Class VertexArrayShape

All Implemented Interfaces:
PropChange.DoChange

public class VertexArrayShape extends Shape3D
This Shape3D subclass just wraps around a VertexArray.
  • Constructor Details

    • VertexArrayShape

      public VertexArrayShape()
      Constructor.
    • VertexArrayShape

      public VertexArrayShape(VertexArray aVertexArray)
      Constructor.
  • Method Details

    • getVertexArray

      public VertexArray getVertexArray()
      Returns the VertexArray.
    • getTriangleArray

      public VertexArray getTriangleArray()
      Returns the VertexArray.
      Specified by:
      getTriangleArray in class Shape3D
    • createBounds3D

      protected Bounds3D createBounds3D()
      Override to get from VertexArray.
      Specified by:
      createBounds3D in class Shape3D
    • setDoubleSided

      public void setDoubleSided(boolean aValue)
      Override to forward to VertexArray.
      Overrides:
      setDoubleSided in class Shape3D