|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.cinematic.events.AbstractCinematicEvent
public abstract class AbstractCinematicEvent
コンストラクタの概要 | |
---|---|
AbstractCinematicEvent()
|
|
AbstractCinematicEvent(float initialDuration)
|
|
AbstractCinematicEvent(float initialDuration,
LoopMode loopMode)
|
|
AbstractCinematicEvent(LoopMode loopMode)
|
メソッドの概要 | |
---|---|
void |
addListener(CinematicEventListener listener)
|
float |
getDuration()
returns the actual duration of the animtion (initialDuration/speed) |
float |
getInitalDuration()
|
float |
getInitialDuration()
returns the initial duration of the animation at speed = 1 in seconds. |
LoopMode |
getLoopMode()
retursthe loopMode of the animation |
PlayState |
getPlayState()
Returns the current playstate of the animation |
float |
getSpeed()
returns the speed of the animation. |
void |
initEvent(Application app,
Cinematic cinematic)
|
void |
internalUpdate(float tpf)
|
abstract void |
onPause()
|
abstract void |
onPlay()
|
abstract void |
onStop()
|
abstract void |
onUpdate(float tpf)
|
void |
pause()
Pauses the animation |
void |
play()
Starts the animation |
void |
read(JmeImporter im)
|
void |
removeListener(CinematicEventListener listener)
|
void |
setInitalDuration(float initalDuration)
|
void |
setInitialDuration(float initialDuration)
Sets the duration of the antionamtion at speed = 1 in seconds |
void |
setLoopMode(LoopMode loopMode)
Sets the loopMode of the animation |
void |
setSpeed(float speed)
Sets the speed of the animation. |
void |
stop()
stops the animation, next time play() is called the animation will start from the begining. |
void |
write(JmeExporter ex)
|
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public AbstractCinematicEvent()
public AbstractCinematicEvent(float initialDuration)
public AbstractCinematicEvent(LoopMode loopMode)
public AbstractCinematicEvent(float initialDuration, LoopMode loopMode)
メソッドの詳細 |
---|
public void play()
CinematicEvent
の記述:
CinematicEvent
内の play
public abstract void onPlay()
public void internalUpdate(float tpf)
CinematicEvent
内の internalUpdate
public abstract void onUpdate(float tpf)
public void stop()
CinematicEvent
内の stop
public abstract void onStop()
public void pause()
CinematicEvent
の記述:
CinematicEvent
内の pause
public abstract void onPause()
public float getDuration()
CinematicEvent
内の getDuration
public void setSpeed(float speed)
CinematicEvent
内の setSpeed
speed
- public float getSpeed()
CinematicEvent
内の getSpeed
public PlayState getPlayState()
CinematicEvent
内の getPlayState
public float getInitialDuration()
CinematicEvent
内の getInitialDuration
public void setInitialDuration(float initialDuration)
CinematicEvent
内の setInitialDuration
initialDuration
- public LoopMode getLoopMode()
CinematicEvent
内の getLoopMode
LoopMode
public void setLoopMode(LoopMode loopMode)
CinematicEvent
内の setLoopMode
loopMode
- LoopMode
public void setInitalDuration(float initalDuration)
public float getInitalDuration()
public void write(JmeExporter ex) throws java.io.IOException
Savable
内の write
java.io.IOException
public void read(JmeImporter im) throws java.io.IOException
Savable
内の read
java.io.IOException
public void initEvent(Application app, Cinematic cinematic)
CinematicEvent
内の initEvent
public void addListener(CinematicEventListener listener)
public void removeListener(CinematicEventListener listener)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |