vcanim.gif (8357 bytes)SAA_modelCopyBranch
Home ] Sales ] Products ] Services ] Support ] Downloads ]

 

 


SAA_modelCopyBranch

Copies a hierarchy of models.

SAA_modelCopyBranch scene original copy

original

Root model of a hierarchy. Use SAA_AllocElem to allocate an element.

copy

The element used as the root of the copied hierarchy. Use SAA_AllocElem to allocate a element.

copy is a SAA_Elem handle to a new scene element created by SAA_modelCopyBranch. You can free any memory you allocated for copy after the function returns.

Note

Copy flags control what is copied from original to copy. Most of the copy flags correspond to the settings in the Duplicate -> Setup dialog. See the reference page for SAA_copyFlagGet.

Possible Errors

  • SI_ERR_NOTSUPPORTED if original is not a light, material, model, 2D texture, or 3D texture.

See Also

Example

See the example for SAA_elementCopy.


SAA Index ] Examples SAA calls index ]

copyright Video-Collage Inc.