User Tools

Site Tools


DzDForm

Base class for dforms.

More...

Inherits :

Constructors

DAZ Script
DzDForm ()

Methods

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 - A pointer to the node to apply this D-Form's affect to.

Number : getAvatarScale()

Return Value:

  • The avatar scale factor for the representation of the DFormer

DzDFormBase : getBase()

Return Value:

  • The DForm Base.

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.

dformmodifier_dz : getModifier( Number index )

Gets the ith Modifier of the DForm. The index is zero based. Can be used with getNumTargets to iterate over all the DForm Modifiers.

Parameter(s):

  • i - The index of the modifier to return.

Return Value:

  • The target Modifier at the requested index

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

DzDFormZone : getZone()

Return Value:

  • The DForm Zone.

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.

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.