Package snap.gfx3d

Class CubeShape

All Implemented Interfaces:
PropChange.DoChange

public class CubeShape extends ParentShape
This ParentShape subclass displays an axis box.
  • Constructor Details

    • CubeShape

      public CubeShape()
      Constructor.
  • Method Details

    • getSideShape

      public Polygon3D getSideShape(Side3D aSide)
      Returns the side shape.
    • isSideVisible

      public boolean isSideVisible(Side3D aSide)
      Returns whether given side is visible.
    • addSideTextures

      public void addSideTextures()
      Add side textures.
    • setTextureForSideAndPos

      public void setTextureForSideAndPos(Side3D aSide, Pos aPos)
      Sets the texture for given side and position.