DAZ Script |
---|
DzDFormModifier () |
DAZ Script | |
---|---|
void | clearAltDFormer () |
DzDFormModifier | createAltGeomDFormer ( Boolean atFront=true ) |
DzDForm | getDForm () |
DzWeightMap | getInfluenceWeights () |
DzBone | getMaskBone () |
DzFloatProperty | getValueControl () |
void | invalidateInfluenceWeights () |
Boolean | isAppliedAsLegacy () |
Boolean | modifyAsset () |
Boolean | modifyAsset ( DzUri newUri ) |
void | setApplyAsLegacy ( Boolean onOff ) |
void | setDForm ( DzDForm dform ) |
DzError | setInfluenceWeights ( DzWeightMap map ) |
void | setMaskBone ( DzBone bone ) |
DzError | setWeightMapFromZone ( DzWeightMap map, DzNode node ) |
DzMorph | spawnMorph ( DzNode node, String name ) |
void | assetModified () |
void | assetWasSaved () |
void | dformChanged ( DzDForm newDForm ) |
void | weightListChanged () |
void | weightsChanged () |
The dForm modifier is the modifier component of a dForm deformer. The others are the DzDFormBase, DzDFormZone and DzDForm.
A DzDFormModifier generates a local space delta for the vertices in the target geometry based on the dForm component parameters. It also draws the vertex weight points.
It can be used to spawn a morph from the dForm on the target geometry.
The dForm modifier is coded for one-to-one dForm and target relationships. Setting a new dForm/target pair replaces the old pair.
Generally a DzDFormModifier should not be created by the user but rather generated by a DzDForm node itself using DzDForm::applyToNode().
Holds the author of the file for this modifier. (Read Only)
Since:
Holds the revision version of the asset file for this modifier. (Read Only)
Since:
Holds the asset id for this modifier.
Since:
Holds the modified date of the asset file for this modifier. (Read Only)
Since:
Holds whether or not the asset for this modifier needs to be saved. (Read Only)
Since:
Holds the URI of the asset source for this modifier; only valid when the asset is in an embedded state - i.e. modified. (Read Only)
Since:
Holds the asset URI for this modifier. (Read Only)
Since:
void : clearAltDFormer()
TODO: Add description.
DzDFormModifier : createAltGeomDFormer( Boolean atFront=true )
TODO: Add description.
Return Value:
See Also:
DzWeightMap : getInfluenceWeights()
TODO: Add description.
DzBone : getMaskBone()
TODO: Add description.
DzFloatProperty : getValueControl()
Return Value:
Since:
void : invalidateInfluenceWeights()
TODO: Add description.
TODO: Add description.
Boolean : modifyAsset()
Marks the asset as being modified.
Return Value:
true
on success, otherwise false
.Boolean : modifyAsset( DzUri newUri )
Marks the asset as being modified.
Parameter(s):
Return Value:
true
on success, otherwise false
.void : setApplyAsLegacy( Boolean onOff )
TODO: Add description.
void : setDForm( DzDForm dform )
Sets the dForm node that this modifier is driven by.
Parameter(s):
See Also:
DzError : setInfluenceWeights( DzWeightMap map )
TODO: Add description.
void : setMaskBone( DzBone bone )
TODO: Add description.
DzError : setWeightMapFromZone( DzWeightMap map, DzNode node )
TODO: Add description.
DzMorph : spawnMorph( DzNode node, String name )
Generates a morph from this modifier. It searches for a morph of the same name and if it exists it adds its values to the allready existing morph. This was down to allow generation of a morph that is made from more than one dForm.
Parameter(s):
Return Value:
void : assetModified()
Signature:“assetModified()”
Emitted when this modifier has been modified.
void : assetWasSaved()
Signature:“assetWasSaved()”
Emitted after this modifier has been saved.
void : dformChanged( DzDForm newDForm )
Signature:“dformChanged(DzDForm*)”
Emitted when the dForm node that is associated with this modifier has changed.
Parameter(s):
void : weightListChanged()
Signature:“weightListChanged()”
Emitted when the weight list for this modifier has changed.
void : weightsChanged()
Signature:“weightsChanged()”
Emitted when the weights on this modifier have changed.