AE表达式

026_视频/合成的时间轴/进度条制作

2021-08-17  本文已影响0人  孤洁大大
小白球的运动为时间进度标记

当前表达式为:

start = thisComp.layer("Video").inPoint;

end = thisComp.layer("Video").outPoint;

x = time/(end-start)*thisComp.width;

[x,value[1]];

thisComp.width 分隔栏的位置设定:thisComp.layer(video").marker.key(1).time. V1标记点的位置 Before After

完整表达式如下:

start = thisComp.layer("Video").inPoint;

end = thisComp.layer("Video").outPoint;

x = thisComp.layer("Video").marker.key(1).time/(end-start)*thisComp.width;

[x,value[1]];

x1 = thisComp.layer("01").transform.position[0];

x2 = thisComp.layer("02").transform.position[0];

x = (x1+x2)/2;

[x,value[1]]

最终演示效果 thisComp.layer("Video").marker.key(1).comment
上一篇 下一篇

猜你喜欢

热点阅读