DuRenderer(defaultOutputTemplateopt, defaultPostRenderActionopt, pngquantopt)

A class used to easily manage After Effects Renderer/RenderQueue

new DuRenderer(defaultOutputTemplateopt, defaultPostRenderActionopt, pngquantopt)

Constructs a new DuRenderer instance
Parameters:
Name Type Attributes Default Description
defaultOutputTemplate string <optional>
The default output module template name to use when adding comp to the queue. Empty string to let default AE OM defaultOutputTemplate.
defaultPostRenderAction PostRenderAction <optional>
PostRenderAction.NONE The default PostRenderAction.
pngquant boolean <optional>
false Compress PNG Sequences using pngquant after render.
Properties:
Name Type Description
defaultOutputTemplate string The default output module template name to use when adding comp to the queue. Empty string to let default AE OM defaultOutputTemplate.
defaultPostRenderAction PostRenderAction The default PostRenderAction.
pngquant boolean Compress PNG Sequences using pngquant after render.
items Array.<DuRendererItem> The DuRendererItems in the queue

Methods

addComp(comp, outputPath, outputTemplateopt, postRenderActionopt)

Adds a comp to the render queue
Parameters:
Name Type Attributes Description
comp CompItem The Composition to add
outputPath string The output file path
outputTemplate string <optional>
Overrides the default output module template
postRenderAction PostRenderAction <optional>
Overrides the default PostRenderAction

addItemToAEQueue(item) → {RenderQueueItem}

Adds a DuRendererItem to the After Effects renderQueue
Parameters:
Name Type Description
item DuRendererItem The Item to add.
Returns:
RenderQueueItem - The item created.

backgroundRender()

Renders the queue in background using aerender.exe Automatically manages the existing After Effects render queue to leave it untouched. The project will be saved.

backgroundRenderComp(comp, outputPath, outputTemplateopt, postRenderActionopt)

Renders a comp in background using aerender.exe Automatically manages the existing After Effects render queue to leave it untouched. The project will be saved.
Parameters:
Name Type Attributes Description
comp CompItem The Composition to render
outputPath string The output file path
outputTemplate string <optional>
Overrides Durenderer.defaultOutputTemplate
postRenderAction PostRenderAction <optional>
Overrides DuRenderer.defaultPostRenderAction
Properties:
Name Type Attributes Description
pngquant bool <optional>
Overrides DuRenderer.pngquant

disableRqItems()

Disables all previously added Items in the AE renderQueue You can re-enable them using DuRenderer.enableRqItems()

enableRqItems()

Enables all previously added Items in the AE renderQueue, if they were previously disabled by DuRenderer.disableRqItems()

render()

Renders the queue in After Effects Automatically manages the existing After Effects render queue to leave it untouched.

renderComp(comp, outputPath, outputTemplateopt, postRenderActionopt)

Renders a comp in After Effects Automatically manages the existing After Effects render queue to leave it untouched.
Parameters:
Name Type Attributes Description
comp CompItem The Composition to render
outputPath string The output file path
outputTemplate string <optional>
Overrides Durenderer.defaultOutputTemplate
postRenderAction PostRenderAction <optional>
Overrides DuRenderer.defaultPostRenderAction
Properties:
Name Type Attributes Description
pngquant bool <optional>
Overrides DuRenderer.pngquant