@JsType(isNative=true, namespace="Cesium", name="ModelAnimation") public class ModelAnimation extends Object
ModelAnimationCollection.add(ModelAnimationOptions)
.Modifier and Type | Field and Description |
---|---|
boolean |
removeOnStop
When true, the animation is removed after it stops playing.
|
Event |
start
The event fired when this animation is started.
|
Event |
stop
The event fired when this animation is stopped.
|
Event |
update
The event fired when on each frame when this animation is updated.
|
Modifier and Type | Method and Description |
---|---|
double |
delay()
The delay, in seconds, from ModelAnimation#startTime to start playing.
|
Number |
loop()
Determines if and how the animation is looped.
|
double |
multiplier()
Values greater than 1.0 increase the speed that the animation is played relative to the scene clock speed;
values less than 1.0 decrease the speed.
|
String |
name()
The glTF animation name that identifies this animation.
|
boolean |
reverse()
When true, the animation is played in reverse.
|
JulianDate |
startTime()
The scene time to start playing this animation.
|
JulianDate |
stopTime()
The scene time to stop playing this animation.
|
@JsProperty public boolean removeOnStop
@JsProperty public Event start
@JsProperty public Event stop
@JsProperty public Event update
@JsProperty(name="delay") public double delay()
@JsProperty(name="loop") public Number loop()
ModelAnimationLoop.NONE()
@JsProperty(name="name") public String name()
@JsProperty(name="reverse") public boolean reverse()
@JsProperty(name="multiplier") public double multiplier()
@JsProperty(name="startTime") public JulianDate startTime()
@JsProperty(name="stopTime") public JulianDate stopTime()
Copyright © 2019. All rights reserved.