Class LensFlare
- java.lang.Object
-
- de.coreengine.rendering.renderable.LensFlare
-
public class LensFlare extends Object
Class that represent a lens flare effect to render- Author:
- Darius Dinger
-
-
Constructor Summary
Constructors Constructor Description LensFlare()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTexture(int tex)Adding texture to the lens flare effectfloatgetBrightness()floatgetSize()int[]getTextures()voidsetBrightness(float brightness)voidsetSize(float size)voidsetTextures(int[] textures)Setting lens flare textures to place onto the lens flare vector
-
-
-
Method Detail
-
setTextures
public void setTextures(int[] textures)
Setting lens flare textures to place onto the lens flare vector- Parameters:
textures- New lens flare textures
-
getTextures
public int[] getTextures()
- Returns:
- Lens flare textures to place onto the lens flare vector
-
getSize
public float getSize()
- Returns:
- Size of the lens flare textures
-
setSize
public void setSize(float size)
- Parameters:
size- New size of the lens flare textures
-
getBrightness
public float getBrightness()
- Returns:
- Brightness of the lens flare textures
-
setBrightness
public void setBrightness(float brightness)
- Parameters:
brightness- New brightness of the lens flare textures
-
addTexture
public void addTexture(int tex)
Adding texture to the lens flare effect- Parameters:
tex- TextureData to add
-
-