.addLabel( label:String, position:* ) : *
在时间轴上添加一个标记,便于标记重要位置/时间。
参数 | 类型 | 必填 | 说明 |
---|---|---|---|
label | String | 是 | 标记名 |
position | * | 否 | 添加标记的位置。可基于绝对时间(帧)、相对时间("+=" "-=")或其他标签,例如("myLabel+=2")。默认为"+=0",在时间轴末尾 |
转载原创文章请注明:文章转载自:TweenMax中文网 [https://www.tweenmax.com.cn]
本文地址:https://www.tweenmax.com.cn/api/timelinemax/addLabel()