|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme3.cinematic.events.AbstractCinematicEvent
com.jme3.cinematic.events.ScaleTrack
@Deprecated public class ScaleTrack
Field Summary |
---|
Fields inherited from class com.jme3.cinematic.events.AbstractCinematicEvent |
---|
initialDuration, listeners, loopMode, playState, resuming, speed, time |
Constructor Summary | |
---|---|
ScaleTrack()
Deprecated. |
|
ScaleTrack(Spatial spatial,
Vector3f endScale)
Deprecated. |
|
ScaleTrack(Spatial spatial,
Vector3f endScale,
float initialDuration)
Deprecated. |
|
ScaleTrack(Spatial spatial,
Vector3f endScale,
float initialDuration,
LoopMode loopMode)
Deprecated. |
|
ScaleTrack(Spatial spatial,
Vector3f endScale,
LoopMode loopMode)
Deprecated. |
Method Summary | |
---|---|
void |
initEvent(Application app,
Cinematic cinematic)
Deprecated. initialize this event (should be called internally only) |
void |
onPause()
Deprecated. place here the code you want to execute when the event is paused |
void |
onPlay()
Deprecated. Place here the code you want to execute when the event is started |
void |
onStop()
Deprecated. Place here the code you want to execute when the event is stoped. |
void |
onUpdate(float tpf)
Deprecated. Place here the code you want to execute on update (only called when the event is playing) |
void |
read(JmeImporter im)
Deprecated. for serialization only |
void |
write(JmeExporter ex)
Deprecated. for serialization only |
Methods inherited from class com.jme3.cinematic.events.AbstractCinematicEvent |
---|
addListener, getDuration, getInitialDuration, getLoopMode, getPlayState, getSpeed, getTime, internalUpdate, pause, play, removeListener, setInitialDuration, setLoopMode, setSpeed, setTime, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScaleTrack()
public ScaleTrack(Spatial spatial, Vector3f endScale)
public ScaleTrack(Spatial spatial, Vector3f endScale, float initialDuration, LoopMode loopMode)
public ScaleTrack(Spatial spatial, Vector3f endScale, LoopMode loopMode)
public ScaleTrack(Spatial spatial, Vector3f endScale, float initialDuration)
Method Detail |
---|
public void initEvent(Application app, Cinematic cinematic)
AbstractCinematicEvent
initEvent
in interface CinematicEvent
initEvent
in class AbstractCinematicEvent
app
- the applicationcinematic
- the cinematicpublic void onPlay()
AbstractCinematicEvent
onPlay
in class AbstractCinematicEvent
public void onUpdate(float tpf)
AbstractCinematicEvent
onUpdate
in class AbstractCinematicEvent
tpf
- time per framepublic void onStop()
AbstractCinematicEvent
onStop
in class AbstractCinematicEvent
public void onPause()
AbstractCinematicEvent
onPause
in class AbstractCinematicEvent
public void write(JmeExporter ex) throws java.io.IOException
AbstractCinematicEvent
write
in interface Savable
write
in class AbstractCinematicEvent
ex
- exporter
java.io.IOException
public void read(JmeImporter im) throws java.io.IOException
AbstractCinematicEvent
read
in interface Savable
read
in class AbstractCinematicEvent
im
- importer
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |