Lines Matching refs:speed
50 * A cinematic event must be given an inital duration in seconds (duration of the event at speed = 1) (default is 10)
56 protected float speed = 1;
91 * @param initialDuration the duration of the event at speed = 1
124 time = time + (tpf * speed);
125 //time = elapsedTimePause + (timer.getTimeInSeconds() - start) * speed;
181 * returns the actual duration of the animtion (initialDuration/speed)
185 return initialDuration / speed;
189 * Sets the speed of the animation.
190 * At speed = 1, the animation will last initialDuration seconds,
191 * At speed = 2 the animation will last initialDuraiton/2...
192 * @param speed
194 public void setSpeed(float speed) {
195 this.speed = speed;
199 * returns the speed of the animation.
203 return speed;
215 * returns the initial duration of the animation at speed = 1 in seconds.
223 * Sets the duration of the antionamtion at speed = 1 in seconds
256 oc.write(speed, "speed", 1);
269 speed = ic.readFloat("speed", 1);
314 this.time = time / speed;