
8. 4 Editing Meshes 3 01.
The
segmentsDefaul
t
function returns the number of default segments for the node.
int Molecule4Node::segmentsDefault()
{
MFnNumericAttribute nAttr( segments );
int d;
nAttr.getDefault( d );
return d-
The
bal 1 Rati oDefaul t
function returns the default ratio of the ball to the rods.
double Molecule4Node::ballRatioDefault()
{
MFnNumericAttribute nAttr( ballRatio );
double d ;
nAttr.getDefault( d );
return d ;
8.4 EDITING MESHES
Editing a mesh consists of modifying the mesh data. This includes adding, removing,
or editing vertices, faces, uv texture coordinates, and so on. It is possible to ...