我已经在数组中有一些组合。
x = *is an item inside an array* ..
y = 1 ; // just one layer in this comp.
myLayer = app.project.item(x).layer(y)
我需要的是应用命令来冻结这一层...搜索了很多地方但仍然无法找到它...
有人可以帮忙吗?
您需要为相关图层添加时间重新映射:
myLayer= app.project.item(x).layer(y);
myLayer.timeRemapEnabled = true;
timeRemap = mylayer.property("Time Remap");
timeRemap.setValueAtTime(theTime , theValue); // or is it (theValue, theTime)?
时间重新映射是AE中Layer对象的属性。