Inheritance diagram for DzDForm:
Methods | |
void | applyToNode (DzNode node) |
Number | getAvatarScale () |
DzDFormBase | getBase () |
Color | getGradientMax () |
Color | getGradientMin () |
DzDFormModifier | getModifier (Number index) |
Number | getNumModifiers () |
Number | getOpacity () |
DzDFormZone | getZone () |
void | setAvatarScale (Number val) |
void | setBase (DzDFormBase base) |
void | setGradientMax (Color color) |
void | setGradientMin (Color color) |
void | setOpacity (Number val) |
void | setZone (DzDFormZone zone) |
Constructors | |
DzDForm () |
The DForm is the primary component of a DForm deformer. The others are the DzDFormBase, DzDFormZone and DzDFormModifier.
DzDForm::DzDForm | ( | ) |
Default Constructor.
void DzDForm::applyToNode | ( | DzNode | node | ) |
Adds the effect of this DForm to the given node
node | A pointer to the node to apply this D-Form's affect to. |
Number DzDForm::getAvatarScale | ( | ) |
DzDFormBase DzDForm::getBase | ( | ) |
Color DzDForm::getGradientMax | ( | ) |
Color DzDForm::getGradientMin | ( | ) |
DzDFormModifier DzDForm::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.
i | The index of the modifier to return. |
Number DzDForm::getNumModifiers | ( | ) |
Number DzDForm::getOpacity | ( | ) |
DzDFormZone DzDForm::getZone | ( | ) |
void DzDForm::setAvatarScale | ( | Number | val | ) |
Sets the avatar scale factor of the DForm representation
val | The new avatar scale factor for the DForm - 1.0 maintains 100% scale. |
void DzDForm::setBase | ( | DzDFormBase | base | ) |
Sets the Base for this DForm.
base | The DForm Base. |
void DzDForm::setGradientMax | ( | Color | color | ) |
Sets the Color used in the gradient for weights at the maximum end of the scale
color | The color to use for representing maximum weights |
void DzDForm::setGradientMin | ( | Color | color | ) |
Sets the Color used in the gradient for weights at the minimum end of the scale
color | The color to use for representing minimum weights |
void DzDForm::setOpacity | ( | Number | val | ) |
Sets the opacity of the DForm representation
val | The new opacity for the DForm - 0.0 is completely transparent, 1.0 is completely opaque. |
void DzDForm::setZone | ( | DzDFormZone | zone | ) |
Sets the Zone for this DForm.
zone | The DForm Zone. |