JavaScript Reference
RenderQueue items attribute
a pp.proj ect .render Qu eue .item s
Description
A collection of all items in the render queue. See "RenderQueueItem object" on page 155.
Type
RQItemCollection object; read-only.
RenderQueue numItems attribute
a pp.proj ect .render Qu eue .numIt ems
Description
The total number of items in the render queue.
Type
Integer; read-only.
RenderQueue pauseRendering() method
a pp . p r o j e c t .r e n d e r Q u e u e .p a u s e R e n d e r i n g ( p au s e )
Description
Pauses the current rendering process, or continues a paused rendering process. This is the same as clicking
Pause in the Render Queue panel during a render. You can call this method from an
callback. See "RenderQueueItem onStatusChanged attribute" on page 157 and "Application onError
onE rror
attribute" on page 26.
Parameters
p au se
True to pause a current render process, false to continue a paused render.
Returns
Nothing.
RenderQueue render() method
a pp.proj ect .render Qu eue .render ()
Description
Starts the rendering process. This is the same as clicking Render in the Render Queue panel. The method does
not return until the render process is complete. To pause or stop the rendering process, call
or
from an
s t o pR e n d e r i n g ( )
•
To respond to errors during the rendering process, define a callback function in
cation onError attribute" on page 26.
To respond to changes in the status of a particular item while the render is progressing, define a callback
•
function in
R enderQ ueu eIt em.o n Sta tusCha n ged
QueueItem onStatusChanged attribute" on page 157.
or
onEr ror
onS t at usC han ged
in the associated RenderQueueItem object; see "Render-
RenderQueue object
o n S t a t u s C h a n g e d
callback.
ap p .o n E r r o r
153
or
p a u se R e n d e r i n g ( )
; see "Appli-
153