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

 

 


SAA_copyFlagGet

SAA_copyFlagSet

Sets and retrieves the flags that control the element attributes copied by SAA_elementCopy and SAA_modelCopyBranch.

SAA_copyFlagGet flag
SAA_copyFlagSet flag

flag

A set of one bit flags. To turn the flags on and off, use the following constants. Use SAA_AllocInteger to allocate it.

Copy Flag Description
SAA_COPY_CURRENT_GEOM Copy current geometry instead of original.
SAA_COPY_MATERIAL_DUP Copy materials.
SAA_COPY_MATERIAL_SHARE Share materials.
SAA_COPY_MATERIAL_ANIM Copy material animation.
SAA_COPY_T2DLOCAL_DUP Copy local 2D textures.
SAA_COPY_T2DLOCAL_ANIM Copy local 2D texture animation.
SAA_COPY_T3DLOCAL_DUP Copy local 3D textures.
SAA_COPY_T3DLOCAL_SHARE Share local 3D textures.
SAA_COPY_T3DLOCAL_ANIM Copy local 3D texture animation.
SAA_COPY_T2DGLOBAL_DUP Copy global 2D textures.
SAA_COPY_T2DGLOBAL_ANIM Copy global 2D texture animation.
SAA_COPY_T3DGLOBAL_DUP Copy global 3D textures.
SAA_COPY_T3DGLOBAL_SHARE Share global 3D textures.
SAA_COPY_T3DGLOBAL_ANIM Copy global 3D texture animation.
SAA_COPY_LATTICE_DUP Copy lattices.
SAA_COPY_LATTICE_ANIM Copy lattice animation.
SAA_COPY_CLUSTER_DUP Copy clusters.
SAA_COPY_CLUSTER_ANIM Copy cluster animation.
SAA_COPY_USERDATA_DUP Copy user data.
SAA_COPY_TRANSFO_ANIM Copy transformation animation.
SAA_COPY_SHAPE_ANIM Copy shape animation.
SAA_COPY_DEFORM_ANIM Copy deformation animation.
SAA_COPY_POLYGON_DUP Polygon duplication.
SAA_COPY_CREATE_NULL_HRC Create null hierarchy.
SAA_COPY_CONNECT_TO_PARENT Connect to immediate parent.
SAA_COPY_CONNECT_TO_PARENT_CREATE_NULL If there is no parent and the SAA_COPY_CONNECT_TO_PARENT flag is set, create a null hierarchy.
SAA_COPY_LIGHT_ANIM Copy light animation.
SAA_COPY_ALL_TEXTURE2D_ANIM Copy all 2D texture animation.
SAA_COPY_ALL_TEXTURE3D_ANIM Copy all 3D texture animation.

 

Note

Most of the copy flags correspond to the Duplicate -> Setup command in SOFTIMAGE 3D. However, the copy flags include three new flags that are not available in SOFTIMAGE 3D:

  • SAA_COPY_LIGHT_ANIM
  • SAA_COPY_ALL_TEXTURE2D_ANIM
  • SAA_COPY_ALL_TEXTURE3D_ANIM

These new flags control the copying of light and texture animation. By default, these flags are off. These new flags, along with the others, are saved in the SOFTIMAGE 3D setup file (.sts) in SETUP_SOFT.

See Also


SAA Index ] Examples SAA calls index ]

copyright Video-Collage Inc.