Class ForwardOrientedTexture

Direct Known Subclasses:
ForwardOrientedTextBlock, GlowingPoint

public class ForwardOrientedTexture extends AbstractCoordinateShape
Texture object that is always oriented towards the viewer.
  • Field Details

    • texture

      public final Texture texture
  • Constructor Details

    • ForwardOrientedTexture

      public ForwardOrientedTexture(Point3D point, double scale, Texture texture)
  • Method Details

    • paint

      public void paint(RenderingContext targetRenderingArea)
      Paint the texture on the screen (targetRenderingArea)
      Specified by:
      paint in class AbstractCoordinateShape
      Parameters:
      targetRenderingArea - the screen to paint on
    • setScale

      public void setScale(double scale)
      Set the scale of the texture
      Parameters:
      scale - the scale of the texture
    • getLocation

      public Point3D getLocation()