com.jme3.cinematic.events
インタフェース CinematicEvent

すべてのスーパーインタフェース:
Savable
既知の実装クラスの一覧:
AbstractCinematicEvent, AnimationTrack, Cinematic, GuiTrack, MotionTrack, PositionTrack, RotationTrack, ScaleTrack, SoundTrack

public interface CinematicEvent
extends Savable


メソッドの概要
 float getDuration()
          Returns the actual duration of the animation
 float getInitialDuration()
          returns the initial duration of the animation at speed = 1 in seconds.
 LoopMode getLoopMode()
           
 PlayState getPlayState()
          returns the PlayState of the animation
 float getSpeed()
          returns the speed of the animation
 void initEvent(Application app, Cinematic cinematic)
           
 void internalUpdate(float tpf)
           
 void pause()
          Pauses the animation
 void play()
          Starts the animation
 void setInitialDuration(float initialDuration)
          Sets the duration of the antionamtion at speed = 1 in seconds
 void setLoopMode(LoopMode loop)
           
 void setSpeed(float speed)
          Sets the speed of the animation (1 is normal speed, 2 is twice faster)
 void stop()
          Stops the animation
 
インタフェース com.jme3.export.Savable から継承されたメソッド
read, write
 

メソッドの詳細

play

void play()
Starts the animation


stop

void stop()
Stops the animation


pause

void pause()
Pauses the animation


getDuration

float getDuration()
Returns the actual duration of the animation

戻り値:

setSpeed

void setSpeed(float speed)
Sets the speed of the animation (1 is normal speed, 2 is twice faster)

パラメータ:
speed -

getSpeed

float getSpeed()
returns the speed of the animation

戻り値:

getPlayState

PlayState getPlayState()
returns the PlayState of the animation

戻り値:

setLoopMode

void setLoopMode(LoopMode loop)
パラメータ:
loopMode - Set the loop mode for the channel. The loop mode determines what will happen to the animation once it finishes playing. For more information, see the LoopMode enum class.
関連項目:
LoopMode

getLoopMode

LoopMode getLoopMode()
戻り値:
The loop mode currently set for the animation. The loop mode determines what will happen to the animation once it finishes playing. For more information, see the LoopMode enum class.
関連項目:
LoopMode

getInitialDuration

float getInitialDuration()
returns the initial duration of the animation at speed = 1 in seconds.

戻り値:

setInitialDuration

void setInitialDuration(float initialDuration)
Sets the duration of the antionamtion at speed = 1 in seconds

パラメータ:
initialDuration -

internalUpdate

void internalUpdate(float tpf)

initEvent

void initEvent(Application app,
               Cinematic cinematic)