A three dimensional displacement map for a mesh.
Inherits :
DAZ Script |
---|
DzMorph () |
DzMorph ( DzMorphDeltas deltas ) |
DAZ Script | |
---|---|
DzError | clearDeltasOnVertexSelection ( DzVertexMesh mesh, Boolean selected=true, Boolean writeToStatusLine=true ) |
DzMorphDeltas | getDeltas () |
Number | getHDLimit () |
DzFloatProperty | getValueControl () |
Boolean | modifyAsset ( DzUri newUri ) |
Boolean | modifyAsset () |
void | setDeltas ( DzMorphDeltas deltas ) |
void | setHDLimit ( Number limit ) |
Deprecated | |
DzFloatProperty | getValueChannel () |
void | assetModified () |
void | assetWasSaved () |
void | deltasChanged () |
void | hdLimitChanged () |
Sometimes referred to as a “morph target”, a “blendshape”, or a “shape key”, a morph is a specialization of DzModifier that moves the position of vertices in the geometry of an object in discrete directions in order to produce a pre-defined shape.
The pre-defined shape is defined relative to the base shape of the object, in local space, and is applied according to a weight that is supplied by a value control. This weight defines the amplitude by which a given vertex in the morph is linearly moved along the vector created between its position in the base shape of the object and its position in the pre-defined shape.
See Also:
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:
DzMorph()
Default Constructor. Creates a new morph. The morph will create its own empty deltas.
DzMorph( DzMorphDeltas deltas )
Creates a new morph with the given set of deltas.
Parameter(s):
DzError : clearDeltasOnVertexSelection( DzVertexMesh mesh, Boolean selected=true, Boolean writeToStatusLine=true )
Clears the deltas of the selected vertices on mesh
.
Parameter(s):
true
, the selected vertices are cleared. If false
, the non-selected vertices are cleared.Return Value:
Since:
Return Value:
Number : getHDLimit()
Return Value:
Since:
DzFloatProperty : getValueControl()
Return Value:
Since:
Boolean : modifyAsset( DzUri newUri )
Marks the asset as being modified.
Parameter(s):
Return Value:
true
if the asset at the specified URI is marked as modified, otherwise false
.Boolean : modifyAsset()
Marks the asset as being modified.
Return Value:
true
if the asset is marked as modified, otherwise false
.void : setDeltas( DzMorphDeltas deltas )
Replace the delta set that this morph is using.
Parameter(s):
void : setHDLimit( Number limit )
Sets the limit for the active level of a High Definition (HD) morph.
Parameter(s):
Since:
DzFloatProperty : getValueChannel()
Deprecated
Use getValueControl() instead.
void : assetModified()
Signature:“assetModified()”
Emitted when the deltas for the morph have been modified.
void : assetWasSaved()
Signature:“assetWasSaved()”
Emitted when the deltas for the morph have been saved.
void : deltasChanged()
Signature:“deltasChanged()”
Emitted when the deltas for the morph has changed.
void : hdLimitChanged()
Signature:“hdLimitChanged()”
Emitted when the high definition (HD) deltas for the morph have changed.