DAZ Script | |
---|---|
String | getPathForContext ( DzWeightMapContext context, DzNode node ) |
DAZ Script |
---|
DzMorphLoader () |
void | applyAfterJointChanged ( Boolean onOff ) |
void | attenuateChanged () |
void | attenuateEdgeStrengthChanged ( Number strength ) |
void | attenuateStrengthChanged ( Number strength ) |
void | controlNodeChanged ( DzNode node ) |
void | controlPropertyChanged ( DzNumericProperty prop ) |
void | createControlPropertyChanged ( Boolean onOff ) |
void | deltaToleranceChanged ( Number val ) |
void | ercCustomValueChanged ( Number val ) |
void | filenameChanged ( String name ) |
void | hideSecondaryChanged ( Boolean onOff ) |
void | mirroringChanged ( DzMorphLoader::MirroringType mirroring ) |
void | morphNameChanged ( String name ) |
void | overwriteExistingChanged ( DzMorphLoader::OverwriteMode value ) |
void | preserveExistingDeltasChanged ( Boolean onOff ) |
void | propertyGroupPathChanged ( String path ) |
void | reverseDeformationsChanged ( Boolean onOff ) |
void | secondaryLabelChanged ( String label ) |
void | useErcCustomValueChanged ( Boolean onOff ) |
void | useSecondaryLabelChanged ( Boolean onOff ) |
Since:
Attention:
See Also:
TODO: Add description.
—–
TODO: Add description.
—–
TODO: Add description.
—–
TODO: Add description.
String : getPathForContext( DzWeightMapContext context, DzNode node )
Gets the path for a given weight map context and a given node.
Parameter(s):
Return Value:
context
on node
.Boolean : applyReverseDeformationsPose()
Attempts to load the “reverse deformations pose” file, if specified.
Return Value:
true
if the file was loaded successfully, otherwise false
.Attention:
See Also:
Since:
String : createMorph( DzFileIOSettings settings, DzNode node, Boolean onlyErrorsOrWarnings=true, Boolean plainText=true )
Creates a morph on a node for a geometry loaded from a file. 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 : createMorphFromMesh( DzVertexMesh mesh, DzNode node, Boolean onlyErrorsOrWarnings=true, Boolean plainText=true )
Creates a morph on a node for 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:
Since:
Number : getAttenuateEdgeStrength()
Return Value:
String : getAttenuateMapPath()
Return Value:
Number : getAttenuateStrength()
Return Value:
Gets whether or not orphans should be cleaned up when overwriting existing morphs. An 'orphan' is a morph by the same name that does not have any deltas from a new morph.
Return Value:
true
if orphans are to be cleaned up when overwriting existing morphs, otherwise false
.DzNode : getControlNode()
Return Value:
Attention:
false
.DzNumericProperty : getControlProperty()
Return Value:
Attention:
false
.String : getControlPropertyCustomLabel()
Return Value:
Attention:
Number : getControlPropertyERCCustomValue()
Return Value:
Attention:
false
.DzERCLink::ERCType : getControlPropertyERCType()
Return Value:
Boolean : getControlPropertyERCUseCustomValue()
Return Value:
true
if a custom value will be used for the ERC links to the control property, otherwise false
.Attention:
false
.Boolean : getControlPropertyUseCustomLabel()
Return Value:
true
if a custom label will be used for the secondary (non-control) properties, otherwise false
.Attention:
false
.Boolean : getCreateControlProperty()
Return Value:
true
if the loader will create and use ERC links to an additional control property.Gets the minimum amount of deviation from the original position of a given vertex that will be recorded in the morph.
Return Value:
String : getDisplayName()
Return Value:
Since:
String : getFilename()
Return Value:
Boolean : getHideSecondaryProperties()
Return Value:
true
if secondary (non-control) properties are hidden, otherwise false
.Attention:
false
.MirroringType : getMorphMirroring()
Gets the type of mirroring to apply.
Return Value:
String : getMorphName()
Return Value:
OverwriteMode : getOverwriteExisting()
Return Value:
true
if an existing morph by the same name will be replaced, otherwise false
.Boolean : getPreserveExistingDeltas()
Return Value:
true
if existing deltas in a morph by the same name be preserved, otherwise false
.String : getPropertyGroupPath()
Return Value:
Boolean : getReverseDeformations()
Return Value:
true
if joint deformations and other modifiers will be reversed from the current world-space geometry to calculate the deltas, otherwise false
.String : getReverseDeformationsPose()
Return Value:
Boolean : morphAlreadyExists( DzNode node )
Parameter(s):
Return Value:
true
if the morph of the same name already exists, otherwise false
.Boolean : readObjectCommonSettingsFromConfigFile( String filename )
Reads common object settings from a configuration file (*.dsx).
Parameter(s):
Return Value:
true
if the file was successfully read, otherwise false
.Since:
Boolean : readObjectSettingsFromConfigFile( String filename, String filePath )
Reads the settings of the first object in a configuration file (*.dsx).
Parameter(s):
Return Value:
true
if the read was successful, otherwise false
. (since 4.15.0.4)Since:
Boolean : saveObjectSettingsToConfigFile( String filename, String projectPath, Boolean saveProjectRelative )
Saves object settings to a configuration file (*.dsx).
Parameter(s):
true
, filename
is saved relative to projectPath
. If false
, filename
is considered to be absolute and projectPath
is ignored.Return Value:
true
if the save was successful, otherwise false
. (since 4.15.0.4)Since:
void : setAttenuateEdgeStrength( Number val )
Sets the strength to use for attenuating the effect of the morph on the vertices that reside along the boundary of the current geometric selection.
Parameter(s):
Attention:
See Also:
void : setAttenuateMapPath( String mapPath )
Sets the path to the map used to attenuate the effect of the morph.
Parameter(s):
Attention:
mapPath
must follow one of these patterns:See Also:
void : setAttenuateStrength( Number val )
Sets the strength to apply the map used to attenuate the effect of the morph.
Parameter(s):
void : setCleanUpOrphans( Boolean onOff )
Sets whether or not orphans should be cleaned up when overwriting existing morphs. An 'orphan' is a morph by the same name that does not have any deltas from a new morph.
Parameter(s):
true
, orphans will be cleaned up.void : setControlNode( DzNode node )
Sets the node that the control property will be located on.
Parameter(s):
Attention:
false
.void : setControlProperty( DzNumericProperty prop )
Sets the property that will serve as the additional control property for the morph(s) created by this loader.
Parameter(s):
Attention:
false
.void : setControlPropertyCustomLabel( String label )
Sets the custom label that will be used for secondary (non-control) properties.
Parameter(s):
Attention:
void : setControlPropertyERCCustomValue( Number val )
Sets the custom value for creating ERC links to the control property.
Parameter(s):
Attention:
false
.void : setControlPropertyERCType( DzERCLink::ERCType type )
Sets the ERC link type to use when connecting secondary properties to the control property.
Parameter(s):
void : setControlPropertyERCUseCustomValue( Boolean onOff )
Sets whether or not a custom value will be used for the ERC links to the control property.
Parameter(s):
true
, a custom value will be used for the links to the control property. Otherwise the default 1:1 ratio is assumed.Attention:
false
.void : setControlPropertyUseCustomLabel( Boolean onOff )
Sets whether or not a custom label will be used for the secondary (non-control) properties.
Parameter(s):
true
, a custom label will be used for the secondary (non-control) properties. Otherwise the default label is used.Attention:
false
.void : setCreateControlProperty( Boolean onOff )
Sets whether or not the loader will use and create ERC links to an additional control property.
Parameter(s):
true
, the loader will create links to an additional control property, otherwise, settings for the additional control property will be ignored.void : setDeltaTolerance( Number val )
Sets the minimum amount of deviation from the original position of a given vertex that will be recorded in the morph.
Parameter(s):
void : setDisplayName( String name )
Sets the name to display for this collection of settings.
Parameter(s):
Since:
void : setFilename( String filename )
Sets the file to read the geometry from.
Parameter(s):
void : setHideSecondaryProperties( Boolean onOff )
Sets whether or not secondary (non-control) properties are hidden.
Parameter(s):
true
, secondary (non-control) properties will be set as hidden.Attention:
false
.bool : setLoadMode( LoadMode mode, DzNode node )
Sets the mode
to load the morph for node
.
Parameter(s):
Return Value:
true
if mode
can be set for node
, otherwise false
.Attention:
node
is a “single skin” figure, only the SingleSkinFigure and SingleSkinFigureFromGraft modes are considered valid. If node
is a figure, but not a “single skin” figure (e.g., a legacy figure), only the EntireFigure, SelectedNodes and PrimaryNode modes are considered valid. If node
is a prop, only the PrimaryNode mode is considered valid.void : setMorphMirroring( MirroringType type )
Sets the type of mirroring to apply to the morph.
Parameter(s):
void : setMorphName( String name )
Sets the name of the morph(s) that will be created by this morph loader.
Parameter(s):
void : setOverwriteExisting( OverwriteMode mode )
Sets whether or not to override/replace existing morphs with the same name.
Parameter(s):
true
, existing morphs on the node(s) with the same name will be replaced by the loaded morph.void : setPreserveExistingDeltas( Boolean onOff )
Sets whether or not to preserve existing deltas in a morph by the same name.
Parameter(s):
true
, existing deltas in a morph by the same name will be preserved.void : setPropertyGroupPath( String path )
Sets the property group that morph value properties will be added to.
Parameter(s):
void : setReverseDeformations( Boolean onOff )
Sets whether or not joint deformations and other modifiers will be reversed before calculating deltas.
Parameter(s):
true
, joint deformations and other modifiers will be reversed from the current world-space geometry to calculate the deltas. If false
, the deltas will be calculated from the base geometry.void : setReverseDeformationsPose( String filePath )
Sets the path of a native file to load/apply immediately before a morph is loaded.
Parameter(s):
See Also:
void : applyAfterJointChanged( Boolean onOff )
TODO: Add description.
void : attenuateChanged()
TODO: Add description.
void : attenuateEdgeStrengthChanged( Number strength )
TODO: Add description.
void : attenuateStrengthChanged( Number strength )
TODO: Add description.
void : controlNodeChanged( DzNode node )
TODO: Add description.
void : controlPropertyChanged( DzNumericProperty prop )
TODO: Add description.
void : createControlPropertyChanged( Boolean onOff )
TODO: Add description.
void : deltaToleranceChanged( Number val )
TODO: Add description.
void : ercCustomValueChanged( Number val )
TODO: Add description.
void : filenameChanged( String name )
Signature:“filenameChanged(const QString&)”
Emitted when the filename has changed.
Parameter(s):
void : hideSecondaryChanged( Boolean onOff )
TODO: Add description.
void : mirroringChanged( DzMorphLoader::MirroringType mirroring )
TODO: Add description.
void : morphNameChanged( String name )
Signature:“morphNameChanged(const QString&)”
Emitted when the morph name has changed.
Parameter(s):
void : overwriteExistingChanged( DzMorphLoader::OverwriteMode value )
TODO: Add description.
void : preserveExistingDeltasChanged( Boolean onOff )
TODO: Add description.
void : propertyGroupPathChanged( String path )
Signature:“propertyGroupPathChanged(const QString&)”
Emitted when the path of the property group has changed.
Parameter(s):
void : reverseDeformationsChanged( Boolean onOff )
TODO: Add description.
void : secondaryLabelChanged( String label )
TODO: Add description.
void : smoothCageChanged( Boolean onOff )
TODO: Add description.
void : useErcCustomValueChanged( Boolean onOff )
TODO: Add description.
void : useSecondaryLabelChanged( Boolean onOff )
TODO: Add description.