Home
last modified time | relevance | path

Searched refs:initialDuration (Results 1 – 10 of 10) sorted by relevance

/external/jmonkeyengine/engine/src/core/com/jme3/cinematic/events/
DAbstractCinematicEvent.java57 protected float initialDuration = 10; field in AbstractCinematicEvent
77 public AbstractCinematicEvent(float initialDuration) { in AbstractCinematicEvent() argument
78 this.initialDuration = initialDuration; in AbstractCinematicEvent()
94 public AbstractCinematicEvent(float initialDuration, LoopMode loopMode) { in AbstractCinematicEvent() argument
95 this.initialDuration = initialDuration; in AbstractCinematicEvent()
128 if (time >= initialDuration && loopMode == loopMode.DontLoop) { in internalUpdate()
185 return initialDuration / speed; in getDuration()
219 return initialDuration; in getInitialDuration()
226 public void setInitialDuration(float initialDuration) { in setInitialDuration() argument
227 this.initialDuration = initialDuration; in setInitialDuration()
[all …]
DScaleTrack.java57 … public ScaleTrack(Spatial spatial, Vector3f endScale, float initialDuration, LoopMode loopMode) { in ScaleTrack() argument
58 super(initialDuration, loopMode); in ScaleTrack()
71 public ScaleTrack(Spatial spatial, Vector3f endScale, float initialDuration) { in ScaleTrack() argument
72 super(initialDuration); in ScaleTrack()
83 if (initialDuration == 0 && spatial != null) { in onPlay()
92 value = Math.min(time / initialDuration, 1.0f); in onUpdate()
DPositionTrack.java57 …public PositionTrack(Spatial spatial, Vector3f endPosition, float initialDuration, LoopMode loopMo… in PositionTrack() argument
58 super(initialDuration, loopMode); in PositionTrack()
71 public PositionTrack(Spatial spatial, Vector3f endPosition, float initialDuration) { in PositionTrack() argument
72 super(initialDuration); in PositionTrack()
83 if (initialDuration == 0 && spatial != null) { in onPlay()
92 value = Math.min(time / initialDuration, 1.0f); in onUpdate()
DRotationTrack.java57 …public RotationTrack(Spatial spatial, Quaternion endRotation, float initialDuration, LoopMode loop… in RotationTrack() argument
58 super(initialDuration, loopMode); in RotationTrack()
71 public RotationTrack(Spatial spatial, Quaternion endRotation, float initialDuration) { in RotationTrack() argument
72 super(initialDuration); in RotationTrack()
83 if (initialDuration == 0 && spatial != null) { in onPlay()
92 value = Math.min(time / initialDuration, 1.0f); in onUpdate()
DAnimationTrack.java66 initialDuration = model.getControl(AnimControl.class).getAnimationLength(animationName); in AnimationTrack()
69 public AnimationTrack(Spatial model, String animationName, float initialDuration) { in AnimationTrack() argument
70 super(initialDuration); in AnimationTrack()
77 initialDuration = model.getControl(AnimControl.class).getAnimationLength(animationName); in AnimationTrack()
82 …public AnimationTrack(Spatial model, String animationName, float initialDuration, LoopMode loopMod… in AnimationTrack() argument
83 super(initialDuration, loopMode); in AnimationTrack()
DMotionTrack.java131 public MotionTrack(Spatial spatial, MotionPath path, float initialDuration) { in MotionTrack() argument
132 super(initialDuration); in MotionTrack()
156 public MotionTrack(Spatial spatial, MotionPath path, float initialDuration, LoopMode loopMode) { in MotionTrack() argument
157 super(initialDuration); in MotionTrack()
170 if (time >= initialDuration && loopMode == loopMode.DontLoop) { in update()
272 control.initialDuration = initialDuration; in cloneForSpatial()
DCinematicEvent.java115 public void setInitialDuration(float initialDuration); in setInitialDuration() argument
/external/jmonkeyengine/engine/src/niftygui/com/jme3/cinematic/events/
DGuiTrack.java61 public GuiTrack(Nifty nifty, String screen, float initialDuration) { in GuiTrack() argument
62 super(initialDuration); in GuiTrack()
73 public GuiTrack(Nifty nifty, String screen, float initialDuration, LoopMode loopMode) { in GuiTrack() argument
74 super(initialDuration, loopMode); in GuiTrack()
/external/jmonkeyengine/engine/src/test/jme3test/animation/
DSubtitleTrack.java19 public SubtitleTrack(Nifty nifty, String screen,float initialDuration, String text) { in SubtitleTrack() argument
20 super(nifty, screen, initialDuration); in SubtitleTrack()
/external/jmonkeyengine/engine/src/core/com/jme3/cinematic/
DCinematic.java80 public Cinematic(Node scene, float initialDuration) { in Cinematic() argument
81 super(initialDuration); in Cinematic()
90 public Cinematic(Node scene, float initialDuration, LoopMode loopMode) { in Cinematic() argument
91 super(initialDuration, loopMode); in Cinematic()
274 initialDuration = d; in fitDuration()