User Tools

Site Tools


DzMorphLoaderBatch

Implements the loading and application of a batch of morphs from geometry files.

More...

Inherits :

Constructors

DAZ Script
DzMorphLoaderBatch ()

Methods

DAZ Script
voidaddFromConfigFile ( String filename )
voidaddFromFile ( String file )
voidaddFromFiles ( Array files )
voidaddFromMesh ( vertexmesh_dz mesh )
voidaddMorph ( DzMorphLoader morph )
voidclear ()
StringcreateMorphs ( vertexmesh_dz mesh, DzNode node, Boolean onlyErrorsOrWarnings=true, Boolean plainText=true )
StringcreateMorphs ( DzFileIOSettings settings, DzNode node, Boolean onlyErrorsOrWarnings=true, Boolean plainText=true )
NumberfindMorph ( DzMorphLoader morph )
DzMorphLoadergetMorph ( Number index )
DzNodegetNode ()
NumbergetNumMorphs ()
voidmoveMorph ( DzMorphLoader morph, Boolean upDown )
StringpresetConfigurationFile ()
voidremoveMorph ( DzMorphLoader morph )
voidsaveProjectSettingsToConfigFile ( String filename, Boolean saveRelative, Boolean saveObjects )
voidsetNode ( DzNode node )
voidsetPresetConfigurationFile ( String filename )
voidsetUsePresetConfiguration ( Boolean onOff )
BooleanusePresetConfiguration ()

Signals

voidmorphAdded ( DzMorphLoader morph )
voidmorphListChanged ()
voidmorphMoved ( Number srcIdx, Number destIdx )
voidmorphRemoved ( DzMorphLoader morph, Number formerIndex )

Detailed Description

This class implements a batch of morph loader objects that will be applied to the same node(s).

Since:

  • 4.9.3.46

Attention:

  • This object is provided by the Morph Loader Pro plugin. It is only available when the Morph Loader Pro plugin is activated and enabled.

Constructors


DzMorphLoaderBatch()

Default Constructor. Creates a morph loader batch that will be applied to the given node.

Methods


void : addFromConfigFile( String filename )

TODO: Add description.


void : addFromFile( String file )

TODO: Add description.


void : addFromFiles( Array files )

TODO: Add description.


void : addFromMesh( vertexmesh_dz mesh )

TODO: Add description.


void : addMorph( DzMorphLoader morph )

TODO: Add description.


void : clear()

TODO: Add description.


String : createMorphs( vertexmesh_dz mesh, DzNode node, Boolean onlyErrorsOrWarnings=true, Boolean plainText=true )

Creates morphs on the node provided from the given geometry. This function supports morph creation from vertex-only geometries.

Parameter(s):

  • mesh - The geometry for the morphs.
  • node - The node containing the geometry to create the morphs for.
  • onlyErrorsOrWarnings - If true (default), only errors and warnings will be returned.
  • plainText - If true (default), the returned string will be plain text, otherwise the returned string will contain HTML.

Return Value:

  • The log containing messages about the creation of the morphs.

String : createMorphs( DzFileIOSettings settings, DzNode node, Boolean onlyErrorsOrWarnings=true, Boolean plainText=true )

Creates morphs on the node provided from the geometry loaded from the files. This function supports morph creation from vertex-only geometries.

Parameter(s):

  • settings - The scale to apply to the geometry that is read from the file.
  • node - The node containing the geometry to create the morph for.
  • onlyErrorsOrWarnings - If true (default), only errors and warnings will be returned.
  • plainText - If true (default), the returned string will be plain text, otherwise the returned string will contain HTML.

Return Value:

  • The log containing messages about the creation of the morph.

Number : findMorph( DzMorphLoader morph )

TODO: Add description.


DzMorphLoader : getMorph( Number index )

TODO: Add description.


DzNode : getNode()

TODO: Add description.


Number : getNumMorphs()

TODO: Add description.


void : moveMorph( DzMorphLoader morph, Boolean upDown )

TODO: Add description.


String : presetConfigurationFile()

TODO: Add description.


void : removeMorph( DzMorphLoader morph )

TODO: Add description.


void : saveProjectSettingsToConfigFile( String filename, Boolean saveRelative, Boolean saveObjects )

TODO: Add description.


void : setNode( DzNode node )

TODO: Add description.


void : setPresetConfigurationFile( String filename )

TODO: Add description.


void : setUsePresetConfiguration( Boolean onOff )

TODO: Add description.


Boolean : usePresetConfiguration()

TODO: Add description.

Signals


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.