User Tools

Site Tools


DzDForm

The primary component of dForm deformers.

More...

Inherits :

Constructors

DAZ Script
DzDForm ()

Methods

Signals

Detailed Description

The dForm is the primary component of a dForm deformer. The others are the DzDFormBase, DzDFormZone and dformmodifier_dz.

Constructors


DzDForm()

Default Constructor.

Methods


void : applyToNode( DzNode node )

Adds the effect of this dForm to the given node.

Parameter(s):

  • node - The node to apply this dForm's affect to.

Number : getAvatarScale()

Return Value:

  • The avatar scale factor for the representation of the dFormer.

DzFloatProperty : getAvatarScaleControl()

Return Value:

  • The property that controls the avatar scale factor for this dFormer.

DzDFormBase : getBase()

Return Value:

  • The base for this dFormer.

Color : getGradientMax()

Return Value:

  • The color used in the gradient for weights at the maximum end of the scale.

Color : getGradientMin()

Return Value:

  • The color used in the gradient for weights at the minimum end of the scale.

DzDFormZone::InfluenceMode : getInfluenceMode()

Return Value:

  • The influence mode.

dformmodifier_dz : getModifier( Number i )

Gets the i'th modifier of the dForm. The index is zero based. Can be used with getNumModifiers() to iterate over all the dForm modifiers.

Parameter(s):

  • i - The index of the modifier to get.

Return Value:

  • The target modifier at the requested index (if valid).

dformmodifier_dz : getModifierForNode( DzNode node )

Gets the i'th modifier of the dForm. The index is zero based. Can be used with getNumModifiers() to iterate over all the dForm modifiers.

Parameter(s):

  • node - The node to find the modifier on.

Return Value:

  • The target modifier on the requested node.

Number : getNumModifiers()

Return Value:

  • The number of dForm modifiers that are driven by this dForm.

Number : getOpacity()

Return Value:

  • The opacity for the representation of the dFormer.

DzFloatProperty : getOpacityControl()

Return Value:

  • The property that controls opacity for drawing this dFormer.

DzDFormZone : getZone()

Return Value:

  • The zone for this dFormer.

void : setAvatarScale( Number val )

Sets the avatar scale factor of the dForm representation.

Parameter(s):

  • val - The new avatar scale factor for the dForm; 1.0 maintains 100% scale.

void : setBase( DzDFormBase base )

Sets the base for this dForm.

Parameter(s):

  • base - The dForm base to set.

void : setGradientMax( Color color )

Sets the Color used in the gradient for weights at the maximum end of the scale.

Parameter(s):

  • color - The color to use for representing maximum weights.

void : setGradientMin( Color color )

Sets the Color used in the gradient for weights at the minimum end of the scale.

Parameter(s):

  • color - The color to use for representing minimum weights.

void : setOpacity( Number val )

Sets the opacity of the dForm representation.

Parameter(s):

  • val - The new opacity for the dForm; 0.0 is completely transparent, 1.0 is completely opaque.

void : setZone( DzDFormZone zone )

Sets the zone for this dForm.

Parameter(s):

  • zone - The dForm zone to set.

Signals


void : dformModifierListChanged()

Signature:“dformModifierListChanged()”

Emitted when the dform modifier list for this dFormer has changed.