y = thisComp.layer("Camera").transform.position[0]-960;
x= thisComp.layer("Camera").transform.positon[2];
Math.atan2(y,x)*180/Math.PI+value
【注】:
“Camera”为当前合成里的摄像机名称;也可以是“摄像机”,“Cam 01”,“Cam 02”,
“-960”;是当前合成为1920*1080;960=1920/2;
y = thisComp.layer("Camera").transform.position[0]-960;
x= thisComp.layer("Camera").transform.positon[2];
Math.atan2(y,x)*180/Math.PI+value
【注】:
“Camera”为当前合成里的摄像机名称;也可以是“摄像机”,“Cam 01”,“Cam 02”,
“-960”;是当前合成为1920*1080;960=1920/2;
本文标题:029_三维图层正对摄像机表达式
本文链接:https://www.haomeiwen.com/subject/gxkisrtx.html
网友评论