for maya python script
getConeAngle = cmds.getAttr('%s.coneAngle' % lightShape)
getPenumbraAngle = cmds.getAttr('%s.penumbraAngle' % lightShape)
if getPenumbraAngle > 0:
fov = (getConeAngle/2 + getPenumbraAngle) * 2
else:
fov = getConeAngle
ScreenWindow -1 1 -1 1 (allways)
댓글 없음:
댓글 쓰기