|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jme.scene.Controller
com.jmex.effects.transients.FadeInOutController
public class FadeInOutController
A FadeInOutController controlls a FadeInOut object.
The FadeInOut object is updated by having its alpha value increased
every update. When the alpha value is >= 1, it stage is increased and the
alpha value of the FadeInOut object is decreased untill its color is <= 0
and then it's stage is increased again.
| Field Summary |
|---|
| Fields inherited from class com.jme.scene.Controller |
|---|
RT_CLAMP, RT_CYCLE, RT_WRAP |
| Constructor Summary | |
|---|---|
FadeInOutController(FadeInOut f)
Creates a new FadeInOutController that fades the given object. |
|
| Method Summary | |
|---|---|
java.lang.String |
getStats()
Returns "Alpha: "+{alpha value of fade object's quad's color} |
void |
update(float timeF)
Updates the fade colors of the fade object. |
| Methods inherited from class com.jme.scene.Controller |
|---|
getClassTag, getControllerValues, getMaxTime, getMinTime, getRepeatType, getSpeed, isActive, read, setActive, setControllerValues, setMaxTime, setMinTime, setRepeatType, setSpeed, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FadeInOutController(FadeInOut f)
f - The object to fade per time.| Method Detail |
|---|
public java.lang.String getStats()
public void update(float timeF)
update in class ControllertimeF - A time value to change the color by.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||