|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.appsystem.table.animationsystem.AnimationElement
synergynetframework.appsystem.table.animationsystem.animelements.Fader
public class Fader
The Class Fader.
Field Summary | |
---|---|
static int |
MODE_FADE_IN
The Constant MODE_FADE_IN. |
static int |
MODE_FADE_OUT
The Constant MODE_FADE_OUT. |
Constructor Summary | |
---|---|
Fader(com.jme.scene.Geometry g,
int modeFadeIn,
float durationSeconds)
Instantiates a new fader. |
|
Fader(com.jme.scene.Geometry g,
int modeFadeIn,
float durationSeconds,
float thenWaitSeconds)
Instantiates a new fader. |
|
Fader(java.util.List<com.jme.scene.Geometry> spatials,
int fadeMode,
float durationSeconds)
Instantiates a new fader. |
|
Fader(java.util.List<com.jme.scene.Geometry> spatials,
int fadeMode,
float durationSeconds,
float thenWaitSeconds)
Instantiates a new fader. |
Method Summary | |
---|---|
static java.util.List<com.jme.scene.Geometry> |
createListFromGeometry(com.jme.scene.Geometry... g)
Creates the list from geometry. |
void |
elementStart(float tpf)
Element start. |
boolean |
isFinished()
Checks if is finished. |
void |
reset()
Reset. |
void |
setFadeDuration(float seconds)
Sets the fade duration. |
void |
updateAnimationState(float tpf)
Update animation state. |
Methods inherited from class synergynetframework.appsystem.table.animationsystem.AnimationElement |
---|
enable, toString, updateState |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int MODE_FADE_IN
public static final int MODE_FADE_OUT
Constructor Detail |
---|
public Fader(com.jme.scene.Geometry g, int modeFadeIn, float durationSeconds)
g
- the gmodeFadeIn
- the mode fade indurationSeconds
- the duration secondspublic Fader(com.jme.scene.Geometry g, int modeFadeIn, float durationSeconds, float thenWaitSeconds)
g
- the gmodeFadeIn
- the mode fade indurationSeconds
- the duration secondsthenWaitSeconds
- the then wait secondspublic Fader(java.util.List<com.jme.scene.Geometry> spatials, int fadeMode, float durationSeconds)
spatials
- the spatialsfadeMode
- the fade modedurationSeconds
- the duration secondspublic Fader(java.util.List<com.jme.scene.Geometry> spatials, int fadeMode, float durationSeconds, float thenWaitSeconds)
spatials
- the spatialsfadeMode
- the fade modedurationSeconds
- the duration secondsthenWaitSeconds
- the then wait secondsMethod Detail |
---|
public static java.util.List<com.jme.scene.Geometry> createListFromGeometry(com.jme.scene.Geometry... g)
g
- the g
public void elementStart(float tpf)
AnimationElement
elementStart
in class AnimationElement
tpf
- the tpfpublic boolean isFinished()
AnimationElement
isFinished
in class AnimationElement
public void reset()
AnimationElement
reset
in class AnimationElement
public void setFadeDuration(float seconds)
seconds
- the new fade durationpublic void updateAnimationState(float tpf)
AnimationElement
updateAnimationState
in class AnimationElement
tpf
- the tpf
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |