Class ModelRenderer

java.lang.Object
gaiasky.render.system.AbstractRenderSystem
gaiasky.scene.system.render.draw.ModelRenderer
All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable, IObserver, IRenderSystem, Comparable<IRenderSystem>

public class ModelRenderer extends AbstractRenderSystem implements IObserver
  • Field Details

  • Constructor Details

    • ModelRenderer

      public ModelRenderer(SceneRenderer sceneRenderer, RenderGroup rg, float[] alphas, IntModelBatch batch)
      Creates a new model renderer based on a single model batch.
      Parameters:
      rg - The render group.
      alphas - The alphas list.
      batch - The model batch.
  • Method Details

    • renderStud

      public void renderStud(List<IRenderable> renderables, ICamera camera, double t)
      Specified by:
      renderStud in class AbstractRenderSystem
    • mustRender

      protected boolean mustRender()
    • notify

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