Package gaiasky.render.system
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat[]initializeList(float[] list, int size) voidEvent notification call.voidreinitialize(int nLights) voidrun(AbstractRenderSystem renderSystem, List<IRenderable> renderables, ICamera camera) voidsetGlowTexture(com.badlogic.gdx.graphics.Texture tex) Sets the occlusion texture to use for the glow effect
-
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
- Specified by:
runin interfaceAbstractRenderSystem.RenderSystemRunnable
-
notify
Description copied from interface:IObserverEvent notification call.
-