int $start
= 101;
int $end
= 200;
for($i
=$start
;$i
<=$end
;$i
++)
{
int $amount
= 0;
progressWindow
-title
"Rendering" -progress $amount
-status
"Frame: 0%" -isInterruptable true
;
if ( `progressWindow
-query
-isCancelled`
) break;
if ( `progressWindow
-query
-progress`
>= $end
) break;
$amount
= $i
;
progressWindow
-edit
-progress $amount
-status
("Rendering: " + $amount
+ "/" + $end
);
currentTime $i
;
renderWindowRenderRegion renderView
;
print
("D:/temp/check6/images/aaa"+$i
);
}
progressWindow
-endProgress
;
转载请注明原文地址:https://tech.qufami.com/read-8478.html