siImportShareOptions
 
 
 

siImportShareOptions

Description

Defines the option flags when importing a model or merging a scene.

C# Syntax

siImportShareOptions.siImportShareOptionsNone                               // 0
siImportShareOptions.siImportShareOptionsImageClips                         // 1
siImportShareOptions.siImportShareOptionsMaterials                          // 2
siImportShareOptions.siImportShareOptionsLayers                             // 4
siImportShareOptions.siImportShareOptionsPartitions                         // 8
siImportShareOptions.siImportShareOptionsAll                                // 65535
Constant Value Description
siImportShareOptionsNone 0 Nothing is shared, all containers or object are created and installed in the scene.
siImportShareOptionsImageClips 1 The image clips and image sources are shared.
siImportShareOptionsMaterials 2 The materials are shared. If the library already exist in the scene and there is a material with the same name, the existing material will be used, else the library will be created and the material will also be created.
siImportShareOptionsLayers 4 The Layers are shared. Objects will be reinstalled into existing layers that have the same name, else they will be installed in the current layer of the scene.
siImportShareOptionsPartitions 8 The Partitions are shared. Objects will be reinstalled into existing partition of each passes that have the same name. If the partition doesn't exist, the object will be installed in the background partition.
siImportShareOptionsAll 0xFFFF Share all objects: Image sources/clips, materials and material libraries, layers and partitions

Applies To

ImportModel MergeScene SIImportMatLib