Templates
/Primitive functions/
PlaneCreate(style,w,h,xtiles,ytiles,parent);
AnnulusCreate(in_r,out_r,h,slices,stacks,loops,parent);
ConeCreate(r,h,slices,stacks,loops,parent);
CubeCreate(w,h,depth,parent);
CubeSetNormalDirection(object,ndir);
CylinderCreate(top_r,bot_r,h,slices,stacks,loops,parent);
DiskCreate(in_r, out_r,start,sweep,loops,slices,parent);
SphereCreate(r,slices,stacks,parent);
TorusCreate(maj_r,min_r,rings,sides,parent);
/Polygon functions/
PolygonCreate(parent);
PolygonAddVertex(polygon,x,y,z);
PolygonSetVertexPosition(polygon,vertex,x,y,z);
PolygonDeleteVertex(polygon,vertex);
/Lines functions/
LinesCreate(parent);
LinesAddNode(line,x,y,z);
LinesDeleteNode(line,index);
LinesSetColors(line,col,alpha,node_col,node_alpha);
LinesSetSize(line,w,size);
LinesSetSplineMode(line,lsm);
LinesSetDivision(line,division);
LinesSetNodesAspect(line,nodes_aspect);
/Tree functions/
TreeCreate(parent);
TreeSetMaterials(tree,leaf,leafback,branch);
TreeSetBranchFacets(tree,facets);
TreeSetBranchNoise(tree,noise);
TreeSetBranchAngle(tree,angle);
TreeSetBranchSize(tree,size);
TreeSetBranchRadius(tree,radius);
TreeSetBranchTwist(tree,twist);
TreeSetDepth(tree,depth);
TreeSetLeafSize(tree,size);
TreeSetLeafThreshold(tree,threshold);
TreeSetSeed(tree,seed);
TreeBuildMesh(tree,parent);