classHModelCache 04

assIEModelParms.md" class="el">IEModelParms * 

iemp, const char *  modelmapfilename

 

void HModelCache::CopyExtrude BOOL  extrude,
HGroupCP grouptocopy,
HGroupCP **  newgroup
 

This function can perform two different operations. It can copy or extrude a group.

The copy operation will take a group and duplicate the control points and splines. The extrude operation will take this a step further and add additional splines to connect the new group of points to previous one. Set the extrude flag to FALSE if you want to copy, and to TRUE if you want to extrude. The new group of control points will be at the same location and the grouptocopy, and it is up to the plugin to walk through the new points and determine their new location. The group to copy is passed in as a HGroupCP and therefore does not need to be a named group (HGroup). The first HGroupCP of the newly created group is stored in the newHGroup handle.

It is responsibility of the plugin to free the new group when it is done with it. This can be done by calling HGroupCP::Delete() from the newHGroup that is passed back to the plugin. The Duplicator wizard provides a good demonstration of how to use the CopyExtrude() function.

Parameters:
extrude  - flag to tell the function to perform extrude or copy operation.
grouptocopy  - pointer to first HGroupCP to perform operation on.
newgroup  - handle to return address of newly created group.

int HModelCache::CountBones  ) 
 

HGroup* HModelCache::CreateGroup const String name  ) 
 

HRelationContainer* HModelCache::CreateRelationContainer  ) 
 

HSpline* HModelCache::CreateSpline  ) 
 

BOOL HModelCache::DeleteCP HCP **  cpuplink,
HCP matchcp
 

void HModelCache::DeleteSpline HSpline spline  ) 
 

HPatch5* HModelCache::FindPatch HCP cp1,
HCP cp2,
HCP cp3,
HCP cp4,
HCP cp5
 

HPatch* HModelCache::FindPatch HCP cp1,
HCP cp2,
HCP cp3,
HCP cp4
 

void HModelCache::FindPatches  ) 
 

HAttrProperty* HModelCache::GetAttr  ) 
 

HBoneCacheContainer* HModelCache::GetChildBoneCacheContainer  ) 
 

HDecalContainer* HModelCache::GetChildDecalContainer  ) 
 

HGroupContainer* HModelCache::GetChildGroupContainer