Package gaiasky.render.system
Class LightPositionUpdater
java.lang.Object
gaiasky.render.system.LightPositionUpdater
- All Implemented Interfaces:
IObserver
,AbstractRenderSystem.RenderSystemRunnable
public class LightPositionUpdater extends java.lang.Object implements AbstractRenderSystem.RenderSystemRunnable, IObserver
-
Constructor Summary
Constructors Constructor Description LightPositionUpdater()
-
Method Summary
Modifier and Type Method Description float[]
initializeList(float[] list, int size)
void
notify(Events event, java.lang.Object... data)
void
reinitialize(int nLights)
void
run(AbstractRenderSystem renderSystem, com.badlogic.gdx.utils.Array<IRenderable> renderables, ICamera camera)
void
setGlowTexture(com.badlogic.gdx.graphics.Texture tex)
Sets the occlusion texture to use for the glow effectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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 interfaceAbstractRenderSystem.RenderSystemRunnable
-
notify
-