|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
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 内の playpublic abstract void onPlay()
public void internalUpdate(float tpf)
CinematicEvent 内の internalUpdatepublic abstract void onUpdate(float tpf)
public void stop()
CinematicEvent 内の stoppublic abstract void onStop()
public void pause()
CinematicEvent の記述:
CinematicEvent 内の pausepublic abstract void onPause()
public float getDuration()
CinematicEvent 内の getDurationpublic void setSpeed(float speed)
CinematicEvent 内の setSpeedspeed - public float getSpeed()
CinematicEvent 内の getSpeedpublic PlayState getPlayState()
CinematicEvent 内の getPlayStatepublic float getInitialDuration()
CinematicEvent 内の getInitialDurationpublic void setInitialDuration(float initialDuration)
CinematicEvent 内の setInitialDurationinitialDuration - public LoopMode getLoopMode()
CinematicEvent 内の getLoopModeLoopModepublic void setLoopMode(LoopMode loopMode)
CinematicEvent 内の setLoopModeloopMode - LoopModepublic void setInitalDuration(float initalDuration)
public float getInitalDuration()
public void write(JmeExporter ex)
throws java.io.IOException
Savable 内の writejava.io.IOException
public void read(JmeImporter im)
throws java.io.IOException
Savable 内の readjava.io.IOException
public void initEvent(Application app,
Cinematic cinematic)
CinematicEvent 内の initEventpublic void addListener(CinematicEventListener listener)
public void removeListener(CinematicEventListener listener)
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||