Package snap.gfx3d

Class Texture

java.lang.Object
snap.gfx3d.Texture

public class Texture extends Object
This class represents an image texture.
  • Constructor Details

    • Texture

      public Texture(Image anImage)
      Constructor.
  • Method Details

    • getImage

      public Image getImage()
      Returns the image.
    • isFlipped

      public boolean isFlipped()
      Returns whether the image is flipped.
    • setFlipped

      public void setFlipped(boolean aValue)
      Sets whether the image is flipped.