跳到主要内容

ApiAnimationSequence

表示动画序列(主序列或交互序列)的类。

方法​

下表列出了可用的方法。

方法返回值描述
AddEffectApiAnimationEffect | null向序列添加动画效果。
GetClassType"animationSequence"返回 ApiAnimationSequence 类的类型。
GetCountnumber返回序列中的效果数量。
GetEffectApiAnimationEffect | null返回指定索引处的效果。
RemoveAllEffectsboolean从序列中移除所有效果。