Panda3D
|
A handle to a Maya blend shape description. More...
#include "mayaBlendDesc.h"
Public Member Functions | |
MayaBlendDesc (MFnBlendShapeDeformer &deformer, int weight_index) | |
PN_stdfloat | get_slider () const |
Returns the current position of the Maya slider associated with this blend shape. | |
void | set_slider (PN_stdfloat value) |
Moves the Maya slider associated with this blend shape to the indicated value. | |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
Friends | |
class | MayaNodeTree |
A handle to a Maya blend shape description.
This is just one target of a Maya BlendShape object, and thus corresponds more or less one-to-one with a single Egg morph target. (We don't attempt to support Maya's chained target shapes here; should we need to later, it would mean breaking each of those target shapes on the one continuous Maya slider into a separate MayaBlendDesc object, and synthesizing the egg slider values appropriately.)
Definition at line 43 of file mayaBlendDesc.h.
PN_stdfloat MayaBlendDesc::get_slider | ( | ) | const |
Returns the current position of the Maya slider associated with this blend shape.
Definition at line 69 of file mayaBlendDesc.cxx.
void MayaBlendDesc::set_slider | ( | PN_stdfloat | value | ) |
Moves the Maya slider associated with this blend shape to the indicated value.
This will move all the affected vertices.
Definition at line 54 of file mayaBlendDesc.cxx.