Class BillboardStarRenderSystem

All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable, IObserver, IRenderSystem

public class BillboardStarRenderSystem extends AbstractRenderSystem implements IObserver
  • Constructor Details

    • BillboardStarRenderSystem

      public BillboardStarRenderSystem(SceneGraphRenderer.RenderGroup rg, float[] alphas, ExtShaderProgram[] programs, String tex0, int ctIndex, float w, float h)
    • BillboardStarRenderSystem

      public BillboardStarRenderSystem(SceneGraphRenderer.RenderGroup rg, float[] alphas, ExtShaderProgram[] shaderPrograms, String tex0, int ctIndex)
      Creates a new billboard quad render component.
      rg - The render group.
      alphas - The alphas list.
      shaderPrograms - The shader programs to render the quad with.
  • Method Details

    • setStarTexture

      public void setStarTexture(String tex0)
    • renderStud

      public void renderStud(com.badlogic.gdx.utils.Array<IRenderable> renderables, ICamera camera, double t)
      Specified by:
      renderStud in class AbstractRenderSystem
    • notify

      public void notify(Event event, Object source, Object... data)
      Description copied from interface: IObserver
      Event notification call.
      Specified by:
      notify in interface IObserver
      event - The event type.
      source - The source object, if any.
      data - The data associated with this event.