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

    • TH_ANGLE_POINT_M

      protected static double TH_ANGLE_POINT_M
  • Constructor Details

    • BillboardGalaxy

      public BillboardGalaxy()
    • BillboardGalaxy

      public BillboardGalaxy(String[] names, double alphaDeg, double deltaDeg, double distPc, 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.
      Overrides:
      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.
      Overrides:
      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
      Overrides:
      render in class ModelBody
      Parameters:
      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
      Overrides:
      renderText in class Billboard
      Returns:
      True if text must be rendered