Constructor
new Glodon.Bimface.Plugins.Animation.AnimationContainer()
Methods
addAnimation(animation)
添加动画对象
Parameters:
Name | Type | Description |
---|---|---|
animation | Object | 动画对象 |
clear()
清除动画
getAllAnimations()
获取容器内所有动画
Returns:
Type | Description |
---|---|
Array |
动画数组 |
getAnimationById(id)
根据ID获取动画
Parameters:
Name | Type | Description |
---|---|---|
id | String | 动画ID |
Returns:
Type | Description |
---|---|
Object |
动画 |
removeAnimationById(id)
根据ID移除动画
Parameters:
Name | Type | Description |
---|---|---|
id | String | 动画ID |