@JsType(isNative=true, namespace="Cesium", name="ModelAnimationCollection") public class ModelAnimationCollection extends Collection<ModelAnimation>
Model.activeAnimations
.Modifier and Type | Field and Description |
---|---|
Event |
animationAdded
The event fired when an animation is added to the collection.
|
Event |
animationRemoved
The event fired when an animation is removed from the collection.
|
Constructor and Description |
---|
ModelAnimationCollection() |
Modifier and Type | Method and Description |
---|---|
ModelAnimation |
add(ModelAnimationOptions options)
Creates and adds an animation with the specified initial properties to the collection.
|
ModelAnimation[] |
addAll(ModelAnimationOptions options)
Creates and adds an animation with the specified initial properties to the collection for each animation in the model.
|
@JsProperty public Event animationAdded
@JsProperty public Event animationRemoved
@JsMethod public ModelAnimation add(ModelAnimationOptions options)
options
- ModelAnimationOptions
@JsMethod public ModelAnimation[] addAll(ModelAnimationOptions options)
options
- ModelAnimationOptions
Copyright © 2019. All rights reserved.