DAZ Script | |
---|---|
String | getIconSuffix () |
String | getMetaXmlFileName ( String imageName, Boolean basenameOnly ) |
String | getRenderBaseFileName ( String imageName, Boolean basenameOnly ) |
String | getRenderIconFileName ( String imageName, Boolean basenameOnly ) |
DAZ Script | |
---|---|
void | addRenderDirectory ( String directory, Boolean saveSetting=true ) |
Boolean | doIPRRender ( DzCamera camera, DzRenderHandler renderHandler, DzRenderOptions opt=null ) |
Boolean | doRender ( DzRenderOptions opt=null ) |
DzRenderer | findRenderer ( String className ) |
DzRenderer | getActiveRenderer () |
Array | getBaseAndRelativePath ( String absPath ) |
String | getLastSavedRenderPath () |
Number | getNumRenderDirectories () |
Number | getNumRenderers () |
DzElement | getOptionHelper () |
String | getRenderDirectoryPath ( Number which ) |
Array | getRenderElementObjects () |
DzRenderer | getRenderer ( Number which ) |
Array | getRendererList () |
DzRenderOptions | getRenderOptions () |
Boolean | hasRender () |
Boolean | isRendering () |
void | rebuildRenderElements () |
void | removeAllRenderDirectories () |
Boolean | removeRenderDirectory ( String directory ) |
void | restoreDefaultRenderOptions () |
String | saveLastRender () |
void | setActiveRenderer ( DzRenderer renderer ) |
void | showRenderDialog () |
void | stopIPRRender () |
void | activeRendererChanged ( DzRenderer renderer ) |
void | activeRendererIPRRenderHandlerChanged ( DzRenderer renderer, iprrenderhandler_dz handler ) |
void | doIPRRenderStop () |
void | hasRenderChanged ( Boolean state ) |
void | IPRRenderStarted () |
void | IPRRenderStopped () |
void | renderDirectoryListChanged () |
void | renderElementsListChanged () |
void | rendererAdded ( DzRenderer renderer ) |
void | rendererIPRRenderHandlerChanged ( DzRenderer renderer, iprrenderhandler_dz handler ) |
void | rendererModeChanged ( DzRenderer renderer ) |
void | renderFinished ( Boolean succeeded ) |
void | renderFolderChanged () |
void | renderOptionDefaultsRestored () |
void | renderStarting () |
Responsible for the management of renderers, and more generally the process of performing a render.
There is only one instance of this manager in an application. This instance is created and owned by DzApp. Request the instance via DzApp::getRenderMgr().
See Also:
Possible render priorities that are used to order various operations when rendering. Most notably, DzNodes and DzMaterials are processed according to their priority when rendering.
String : getIconSuffix()
Return Value:
String : getMetaXmlFileName( String imageName, Boolean basenameOnly )
Parameter(s):
true
, only the shortname of the file is returned, otherwise the full path of the file is returned.Return Value:
imageName
.String : getRenderBaseFileName( String imageName, Boolean basenameOnly )
Parameter(s):
true
, only the basename of the file is returned, otherwise the basename is preceded by the path.Return Value:
imageName
.String : getRenderIconFileName( String imageName, Boolean basenameOnly )
Parameter(s):
true
, only the shortname of the file is returned, otherwise the full path of the file is returned.Return Value:
imageName
.void : addRenderDirectory( String directory, Boolean saveSetting=true )
Adds a directory to the list of known render directories.
Parameter(s):
true
, saves the setting immediately. If false
, waits until the application exits to save the setting.Boolean : doIPRRender( DzCamera camera, DzRenderHandler renderHandler, DzRenderOptions opt=null )
Interactively and progressively renders the scene with the given render settings, using the given handler from the given camera.
Parameter(s):
Return Value:
true
if the render was performed successfully, otherwise false
.Boolean : doRender( DzRenderOptions opt=null )
Renders the scene with the given render settings. If no render settings are specified, then the current application render settings are used.
Parameter(s):
Return Value:
true
if the render operation succeeds, otherwise false
.DzRenderer : findRenderer( String className )
Return Value:
DzRenderer : getActiveRenderer()
Return Value:
Array : getBaseAndRelativePath( String absPath )
Parameter(s):
Return Value:
String : getLastSavedRenderPath()
Return Value:
Number : getNumRenderDirectories()
Return Value:
Return Value:
TODO: Add description.
String : getRenderDirectoryPath( Number which )
Parameter(s):
Return Value:
Array : getRenderElementObjects()
TODO: Add description.
DzRenderer : getRenderer( Number which )
Return Value:
which
is within the range [0, getNumRenderers() - 1], the renderer at the given index, otherwise null.Array : getRendererList()
Return Value:
DzRenderOptions : getRenderOptions()
Return Value:
Return Value:
true
if there is a render that can be saved, otherwise false
.Boolean : isRendering()
Return Value:
true
if the application is currently rendering, otherwise false
.void : rebuildRenderElements()
TODO: Add description.
void : removeAllRenderDirectories()
Removes all render directories.
Boolean : removeRenderDirectory( String directory )
Removes a directory from the list of known render directories.
Parameter(s):
Return Value:
true
if the directory was found in the list, otherwise false
.void : restoreDefaultRenderOptions()
TODO: Add description.
String : saveLastRender()
Displays a dialog for saving the last render, and saves the image(s)/movie if the user does not cancel.
Return Value:
void : setActiveRenderer( DzRenderer renderer )
Sets the active renderer for the application.
Parameter(s):
void : showRenderDialog()
Displays the render options dialog to the user. This only works if the application is being run with the interface on, if the interface is off, this function does nothing.
void : stopIPRRender()
TODO: Add description.
void : activeRendererChanged( DzRenderer renderer )
Signature:“activeRendererChanged(DzRenderer*)”
Emitted when the active render engine has changed.
Parameter(s):
void : activeRendererIPRRenderHandlerChanged( DzRenderer renderer, iprrenderhandler_dz handler )
TODO: Add description.
void : doIPRRenderStop()
TODO: Add description.
void : hasRenderChanged( Boolean state )
Signature:“hasRenderChanged(bool)”
Emitted when the value returned by DzRenderMgr::hasRender() has changed, signaling a new render operation. This signifies whether or not a call to saveLastRender() will be valid.
void : IPRRenderStarted()
TODO: Add description.
void : IPRRenderStopped()
TODO: Add description.
void : renderDirectoryListChanged()
TODO: Add description.
void : renderElementsListChanged()
TODO: Add description.
void : rendererAdded( DzRenderer renderer )
Signature:“rendererAdded(DzRenderer*)”
Emitted when a new render engine is added to the manager. This only occurs at startup as plug-ins are being loaded.
Parameter(s):
void : rendererIPRRenderHandlerChanged( DzRenderer renderer, iprrenderhandler_dz handler )
TODO: Add description.
void : rendererModeChanged( DzRenderer renderer )
TODO: Add description.
void : renderFinished( Boolean succeeded )
Signature:“renderFinished(bool)”
Emitted just after a rendering operation is finished. This is only emitted when a render operation is performed by calling DzRenderMgr::doRender() - this includes all rendering operations that are started by the user from the interface. This may not include rendering operations performed by plug-ins, scripts, etc which do not call doRender().
Parameter(s):
true
if the render was successful, false
if the render failed or was cancelled by the user.See Also:
void : renderFolderChanged()
TODO: Add description.
void : renderOptionDefaultsRestored()
TODO: Add description.
void : renderStarting()
Signature:“renderStarting()”
Emitted just before a rendering operation begins. This is only emitted when a render operation is performed by calling DzRenderMgr::doRender() - this includes all rendering operations that are started by the user from the interface. This may not include rendering operations performed by plug-ins, scripts, etc which do not call doRender().
See Also: