Discreet3dsSaveOptions

Discreet3dsSaveOptions class

Save options for 3DS file.

Methods

constructor

NameDescription
constructor()Constructor of Discreet3dsSaveOptions

Result:


getExportLight

NameDescription
getExportLight()Gets or sets whether export all lights in the scene.

Result:


setExportLight

NameDescription
setExportLight(value)Gets or sets whether export all lights in the scene.

Result:


getExportCamera

NameDescription
getExportCamera()Gets or sets whether export all cameras in the scene.

Result:


setExportCamera

NameDescription
setExportCamera(value)Gets or sets whether export all cameras in the scene.

Result:


getDuplicatedNameSeparator

NameDescription
getDuplicatedNameSeparator()The 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.

Result:


setDuplicatedNameSeparator

NameDescription
setDuplicatedNameSeparator(value)The 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.

Result:


getDuplicatedNameCounterBase

NameDescription
getDuplicatedNameCounterBase()The counter used by generating new name for duplicated names, default value is 2.

Result:


setDuplicatedNameCounterBase

NameDescription
setDuplicatedNameCounterBase(value)The counter used by generating new name for duplicated names, default value is 2.

Result:


getDuplicatedNameCounterFormat

NameDescription
getDuplicatedNameCounterFormat()The format of the duplicated counter, default value is empty string.

Result:


setDuplicatedNameCounterFormat

NameDescription
setDuplicatedNameCounterFormat(value)The format of the duplicated counter, default value is empty string.

Result:


getMasterScale

NameDescription
getMasterScale()Gets or sets the master scale used in exporting.

Result:


setMasterScale

NameDescription
setMasterScale(value)Gets or sets the master scale used in exporting.

Result:


getGammaCorrectedColor

NameDescription
getGammaCorrectedColor()A 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.

Result:


setGammaCorrectedColor

NameDescription
setGammaCorrectedColor(value)A 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.

Result:


getFlipCoordinateSystem

NameDescription
getFlipCoordinateSystem()Gets or sets flip coordinate system of control points/normal during importing/exporting.

Result:


setFlipCoordinateSystem

NameDescription
setFlipCoordinateSystem(value)Gets or sets flip coordinate system of control points/normal during importing/exporting.

Result:


getHighPreciseColor

NameDescription
getHighPreciseColor()If 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.

Result:


setHighPreciseColor

NameDescription
setHighPreciseColor(value)If 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.

Result:


getExportTextures

NameDescription
getExportTextures()Try to copy textures used in scene to output directory.

Result:


setExportTextures

NameDescription
setExportTextures(value)Try to copy textures used in scene to output directory.

Result:


getFileFormat

NameDescription
getFileFormat()Gets the file format that specified in current Save/Load option.

Result:


getEncoding

NameDescription
getEncoding()Gets or sets the default encoding for text-based files. Default value is null which means the importer/exporter will decide which encoding to use.

Result:


getFileSystem

NameDescription
getFileSystem()Allow user to handle how to manage the external dependencies during load/save.

Result:


setFileSystem

NameDescription
setFileSystem(value)Allow user to handle how to manage the external dependencies during load/save.

Result:


getLookupPaths

NameDescription
getLookupPaths()Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.

Result:


getFileName

NameDescription
getFileName()The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material.

Result:


setFileName

NameDescription
setFileName(value)The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material.

Result: