15 #include "mayaBlendDesc.h" 16 #include "config_mayaegg.h" 26 MayaBlendDesc(MFnBlendShapeDeformer &deformer,
int weight_index) :
27 _deformer(deformer.object()),
28 _weight_index(weight_index)
31 strm << _deformer.name().asChar() <<
"." << _weight_index;
55 MStatus status = _deformer.setWeight(_weight_index, value);
58 <<
"Unable to set slider " << get_name() <<
"\n";
70 return _deformer.weight(_weight_index);
Corresponding to an <S$Anim> entry, this stores a single column of numbers, for instance for a morph ...
void set_slider(PN_stdfloat value)
Moves the Maya slider associated with this blend shape to the indicated value.
PN_stdfloat get_slider() const
Returns the current position of the Maya slider associated with this blend shape. ...
TypeHandle is the identifier used to differentiate C++ class types.