| DAZ Script |
|---|
| DzMorphLoaderBatch () |
| DAZ Script | |
|---|---|
| void | addFromConfigFile ( String filename ) |
| void | addFromFile ( String file ) |
| void | addFromFiles ( Array files ) |
| void | addFromMesh ( DzVertexMesh mesh ) |
| void | addMorph ( DzMorphLoader morph ) |
| void | clear () |
| String | createMorphs ( DzFileIOSettings settings, DzNode node, Boolean onlyErrorsOrWarnings=true, Boolean plainText=true ) |
| String | createMorphsFromMesh ( DzVertexMesh mesh, DzNode node, Boolean onlyErrorsOrWarnings=true, Boolean plainText=true ) |
| Number | findMorph ( DzMorphLoader morph ) |
| DzMorphLoader | getMorph ( Number index ) |
| DzNode | getNode () |
| Number | getNumMorphs () |
| void | moveMorph ( DzMorphLoader morph, Boolean upDown ) |
| String | presetConfigurationFile () |
| void | removeMorph ( DzMorphLoader morph ) |
| Boolean | saveProjectSettingsToConfigFile ( String filename, Boolean saveRelative, Boolean saveObjects ) |
| void | setNode ( DzNode node ) |
| void | setPresetConfigurationFile ( String filename ) |
| void | setUsePresetConfiguration ( Boolean onOff ) |
| Boolean | usePresetConfiguration () |
| void | morphAdded ( DzMorphLoader morph ) |
| void | morphListChanged () |
| void | morphMoved ( Number srcIdx, Number destIdx ) |
| void | morphRemoved ( DzMorphLoader morph, Number formerIndex ) |
Implements a batch of morph loader objects that will be applied to the same node(s).
Since:
Attention:
See Also:
Default Constructor. Creates a morph loader batch that will be applied to the given node.
void : addFromConfigFile( String filename )
Adds a morph to the list to load.
Parameter(s):
Attention:
Since:
void : addFromFile( String file )
Adds a morph to the list to load.
Parameter(s):
Attention:
void : addFromFiles( Array files )
Adds a list of morphs to the list to load.
Parameter(s):
Attention:
See Also:
void : addFromMesh( DzVertexMesh mesh )
Adds a morph to the list to load.
Parameter(s):
Attention:
void : addMorph( DzMorphLoader morph )
Adds a morph to the list to load.
Parameter(s):
void : clear()
Clears the list of morphs to load.
String : createMorphs( DzFileIOSettings settings, DzNode node, Boolean onlyErrorsOrWarnings=true, Boolean plainText=true )
Creates morphs on a node for geometry loaded from files. This function supports morph creation from vertex-only geometries.
Parameter(s):
true (default), only errors and warnings will be returned.true (default), the returned string will be plain text, otherwise the returned string will contain HTML.Return Value:
See Also:
String : createMorphsFromMesh( DzVertexMesh mesh, DzNode node, Boolean onlyErrorsOrWarnings=true, Boolean plainText=true )
Creates morphs on a node provided by a geometry. This function supports morph creation from vertex-only geometries.
Parameter(s):
true (default), only errors and warnings will be returned.true (default), the returned string will be plain text, otherwise the returned string will contain HTML.Return Value:
See Also:
Since:
Number : findMorph( DzMorphLoader morph )
Parameter(s):
Return Value:
DzMorphLoader : getMorph( Number index )
Parameter(s):
Return Value:
Return Value:
Number : getNumMorphs()
Return Value:
void : moveMorph( DzMorphLoader morph, Boolean upDown )
Moves the position of a morph in the list.
Parameter(s):
true, the morph is moved to the position earlier in the list. If false, the morph is moved to the position later in the list.String : presetConfigurationFile()
Return Value:
See Also:
void : removeMorph( DzMorphLoader morph )
Removes a morph from the list to load.
Parameter(s):
Boolean : saveProjectSettingsToConfigFile( String filename, Boolean saveRelative, Boolean saveObjects )
Saves project (and potentially object) settings to configuration files (*.dsx).
Parameter(s):
true, object settings files are saved relative to the project file. If false, object settings files are saved adjacent to their respective source.true, object settings will be saved to their respective files. If false, object settings files are not saved.Return Value:
true if the save was successful, otherwise false. (since 4.15.0.4)Since:
Sets the node with the object to load morphs for.
Parameter(s):
void : setPresetConfigurationFile( String filename )
Sets the filename of a preset configuration file to use to setup morphs that are added to the list from file.
Parameter(s):
See Also:
void : setUsePresetConfiguration( Boolean onOff )
Sets whether or not a preset configuration file should be used to setup morphs that are added from file.
Parameter(s):
true, a preset configuration file should be used.See Also:
Boolean : usePresetConfiguration()
Return Value:
true if a preset configuration file should be used to setup morphs that are added from file, otherwise false.See Also:
void : morphAdded( DzMorphLoader morph )
TODO: Add description.
void : morphListChanged()
TODO: Add description.
void : morphMoved( Number srcIdx, Number destIdx )
TODO: Add description.
void : morphRemoved( DzMorphLoader morph, Number formerIndex )
TODO: Add description.