Class LightPositionUpdater

java.lang.Object
gaiasky.render.system.LightPositionUpdater
All Implemented Interfaces:
IObserver, AbstractRenderSystem.RenderSystemRunnable

public class LightPositionUpdater extends Object implements AbstractRenderSystem.RenderSystemRunnable, IObserver
  • Constructor Details

    • LightPositionUpdater

      public LightPositionUpdater()
  • Method Details

    • reinitialize

      public void reinitialize(int nLights)
    • initializeList

      public float[] initializeList(float[] list, int size)
    • setGlowTexture

      public void setGlowTexture(com.badlogic.gdx.graphics.Texture tex)
      Sets the occlusion texture to use for the glow effect
      Parameters:
      tex - The texture
    • run

      public void run(AbstractRenderSystem renderSystem, com.badlogic.gdx.utils.Array<IRenderable> renderables, ICamera camera)
      Specified by:
      run in interface AbstractRenderSystem.RenderSystemRunnable
    • 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.