User Tools

Site Tools


DzPushModifier

A displacement map along the normals of a mesh.

More...

Inherits :

Properties

Constructors

DAZ Script
DzPushModifier ()

Methods

Signals

Detailed Description

A specialization of DzModifier that moves the position of vertices in the geometry of an object along the normals of the base shape of the object.

This modifier is applied according to a weight that is supplied by a value control. This weight defines the amplitude by which a given vertex is linearly moved along its normal - i.e., an offset distance from the surface of a mesh.

Attenuating the influence of the weight, at a per vertex level, is supported through the use of a weight map.

See Also:

Properties


DzAuthor : assetAuthor

Holds the author of the file for this modifier. (Read Only)

Since:

  • 4.8.1.21

DzVersion : assetFileRevision

Holds the revision version of the asset file for this modifier. (Read Only)

Since:

  • 4.8.1.21

String : assetId

Holds the asset id for this modifier.

Since:

  • 4.8.1.18

Date : assetModifiedDate

Holds the modified date of the asset file for this modifier. (Read Only)

Since:

  • 4.8.1.21

Boolean : assetNeedSave

Holds whether or not the asset for this modifier needs to be saved. (Read Only)

Since:

  • 4.11.0.249

DzUri : assetSource

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:

  • 4.8.1.21

DzUri : assetUri

Holds the asset URI for this modifier. (Read Only)

Since:

  • 4.8.1.18

Constructors


DzPushModifier()

Default Constructor. Creates a new push modifier.

Methods


DzWeightMap : getInfluenceWeights()

Return Value:

  • The weight map being used as the modifier's influence weight (if any), otherwise null.

DzFloatProperty : getValueControl()

Return Value:

  • The property that controls the strength of this modifier.

Since:

  • 4.9.3.137

void : invalidateInfluenceWeights()

Marks the weights on this modifier as having changed, and notifies the geometry of the need for an update. Emits the weightsChanged() and currentValueChanged() signals.


Boolean : isPostSmooth()

Return true if this push modifier is setup to be after the smoothing modifier

Since:

  • 4.12.0.76

Boolean : modifyAsset()

Marks the asset as being modified.

Return Value:

  • true if the asset is marked as modified, otherwise false.

Boolean : modifyAsset( DzUri newUri )

Marks the asset as being modified.

Parameter(s):

  • newUri - The new file URI for the asset.

Return Value:

  • true if the asset at the specified URI is marked as modified, otherwise false.

DzError : setInfluenceWeights( DzWeightMap map )

Sets or clears the weight map associated with the modifier.

Parameter(s):

  • map - The weight map to use as the modifier's influence weight; use NULL to clear the existing map.

Return Value:

  • DZ_NO_ERROR on success, otherwise an appropriate error code.

void : setToPostSmooth( Boolean )

Move this push modifier to be before after the smoothing modifier.

Parameter(s):

  • postSmooth - false for before, @ true for after

Since:

  • 4.12.0.76

Signals


void : assetModified()

Signature:“assetModified()”

Emitted when the asset for the modifier has been modified.


void : assetWasSaved()

Signature:“assetWasSaved()”

Emitted when the asset for the modifier has been saved.


void : weightListChanged()

Signature:“weightListChanged()”

Emitted when the list of weights for this modifier has changed.


void : weightsChanged()

Signature:“weightsChanged()”

Emitted when the weights for this modifier has changed.