Class BillboardGalaxy

All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable, I3DTextRenderable, IModelRenderable, IQuadRenderable, IRenderable, IFocus, IStarContainer, IVisibilitySwitch, IPosition

public class BillboardGalaxy extends Billboard
Renders billboard galaxies with no texture, just blobs
  • Field Details


      protected static double TH_ANGLE_POINT_M
  • Constructor Details

    • BillboardGalaxy

      public BillboardGalaxy()
    • BillboardGalaxy

      public BillboardGalaxy(String[] names, double alpha, double delta, double dist, double sizePc, String tex)
  • Method Details

    • updateLocalValues

      public void updateLocalValues(ITimeFrameProvider time, ICamera camera)
      Description copied from class: SceneGraphNode
      This function updates all the local values before the localTransform is updated. Position, rotations and scale must be updated in here.
      updateLocalValues in class Billboard
    • addToRenderLists

      protected void addToRenderLists(ICamera camera)
      Description copied from class: SceneGraphNode
      Adds this entity to the necessary render lists after the distance to the camera and the view angle have been determined.
      addToRenderLists in class Billboard
    • render

      public void render(ExtShaderProgram shader, float alpha, IntMesh mesh, ICamera camera)
      Description copied from class: ModelBody
      Billboard quad rendering
      Specified by:
      render in interface IQuadRenderable
      render in class ModelBody
      shader - The shader program
      alpha - Opacity value
      mesh - The mesh
      camera - The camera
    • renderText

      public boolean renderText()
      Description copied from interface: I3DTextRenderable
      Tells whether the text must be rendered or not for this entity
      Specified by:
      renderText in interface I3DTextRenderable
      renderText in class Billboard
      True if text must be rendered