AddEffect

TextAnimation.AddEffect 方法

将新效果添加到当前序列的末尾,作为文本动画组的末尾。如果文本段落的数量大于或等于该组的效果数量,则此操作有效!

public IEffect AddEffect(EffectType effectType, EffectSubtype subtype, 
    EffectTriggerType triggerType)
参数类型描述
effectTypeEffectType动画效果的类型 EffectType
subtypeEffectSubtype动画效果的子类型 EffectSubtype
triggerTypeEffectTriggerType效果的触发类型 EffectTriggerType

返回值

新效果对象 IEffect

另请参见