AddEffect
TextAnimation.AddEffect 方法
将新效果添加到当前序列的末尾,作为文本动画组的末尾。如果文本段落的数量大于或等于该组的效果数量,则此操作有效!
public IEffect AddEffect(EffectType effectType, EffectSubtype subtype,
EffectTriggerType triggerType)
参数 | 类型 | 描述 |
---|---|---|
effectType | EffectType | 动画效果的类型 EffectType |
subtype | EffectSubtype | 动画效果的子类型 EffectSubtype |
triggerType | EffectTriggerType | 效果的触发类型 EffectTriggerType |
返回值
新效果对象 IEffect