Discreet3dsSaveOptions class

Discreet3dsSaveOptions class

Save options for 3DS file.

Inheritance: Discreet3dsSaveOptionsSaveOptionsIOConfig

The Discreet3dsSaveOptions type exposes the following members:

Constructors

ConstructorDescription
initConstructor of Discreet3dsSaveOptions

Properties

PropertyDescription
file_formatGets the file format that specified in current Save/Load option.
encodingGets or sets the default encoding for text-based files.
Default value is null which means the importer/exporter will decide which encoding to use.
file_systemAllow user to handle how to manage the external dependencies during load/save.
lookup_pathsSome files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
file_nameThe file name of the exporting/importing scene.
This is optional, but useful when serialize external assets like OBJ’s material.
export_texturesTry to copy textures used in scene to output directory.
export_lightGets or sets whether export all lights in the scene.
export_cameraGets or sets whether export all cameras in the scene.
duplicated_name_separatorThe separator between object’s name and the duplicated counter, default value is “_”.

When scene contains objects that use the same name, Aspose.3D 3DS exporter will generate a different name for the object.
For example there’s two nodes named “Box”, the first node will have a name “Box”,
and the second node will get a new name “Box_2” using the default configuration.
duplicated_name_counter_baseThe counter used by generating new name for duplicated names, default value is 2.
duplicated_name_counter_formatThe format of the duplicated counter, default value is empty string.
master_scaleGets or sets the master scale used in exporting.
gamma_corrected_colorA 3ds file may contains original color and gamma corrected color for same attribute,
Setting this to true will use the gamma corrected color if possible,
otherwise the Aspose.3D will try to use the original color.
flip_coordinate_systemGets or sets flip coordinate system of control points/normal during importing/exporting.
high_precise_colorIf this is true, the generated 3ds file will use high precise color, means each channel of red/green/blue are in 32bit float.
Otherwise the generated file will use 24bit color, each channel use 8bit byte.
The default value is false, because not all applications supports the high-precise color.

See Also