ApiAnimationSequence
表示动画序列(主序列或交互序列)的类。
方法
下表列出了可用的方法。
| 方法 | 返回值 | 描述 |
|---|---|---|
| AddEffect | ApiAnimationEffect | null | 向序列添加动画效果。 |
| GetClassType | "animationSequence" | 返回 ApiAnimationSequence 类的类型。 |
| GetCount | number | 返回序列中的效果数量。 |
| GetEffect | ApiAnimationEffect | null | 返回指定索引处的效果。 |
| RemoveAllEffects | boolean | 从序列中移除所有效果。 |