|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.rico.engine.effect.lensflare.LensFlare
public class LensFlare
This class represents a lens flare effect
| Constructor Summary | |
|---|---|
LensFlare(Point3D position,
java.lang.String texHalo,
java.lang.String texGlow,
java.lang.String texBigGlow,
java.lang.String texStreaks)
Creates a new lens flare effect with the specified parameters. |
|
| Method Summary | |
|---|---|
void |
draw(javax.media.opengl.GL gl)
Draws the lens flare effect. |
float |
getScaleFactor()
Returns the current scale factor for the flares |
void |
setScaleFactor(float factor)
Sets the scale factor for the lens flare effect. |
void |
update(long elapsedTime)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LensFlare(Point3D position,
java.lang.String texHalo,
java.lang.String texGlow,
java.lang.String texBigGlow,
java.lang.String texStreaks)
position - reference point for the lens flaretexHalo - path to halo like texturetexGlow - path to strong glow like texturetexBigGlow - path to big glow like texturetexStreaks - path to streaks like texture| Method Detail |
|---|
public void setScaleFactor(float factor)
factor - scale factorpublic float getScaleFactor()
public void update(long elapsedTime)
public void draw(javax.media.opengl.GL gl)
gl -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||