Discreet3dsSaveOptions

Discreet3dsSaveOptions

Overview

Discreet3dsSaveOptions is a class in Aspose.3D FOSS for Java. Inherits from: SaveOptions.

Save options for 3DS file.

This class provides 35 methods for working with Discreet3dsSaveOptions objects in Java programs. Available methods include: Discreet3dsSaveOptions, SaveOptions, getDuplicatedNameCounterBase, getDuplicatedNameCounterFormat, getDuplicatedNameSeparator, getEncoding, getExportCamera, getExportLight, getExportTextures, getFileFormat, getFileName, getFileSystem, and 21 additional methods. All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package. Properties: duplicatedNameCounterBase, duplicatedNameCounterFormat, duplicatedNameSeparator, encoding, exportCamera, exportLight, and 10 more.

Properties

NameTypeAccessDescription
exportLightbooleanReadGets whether export all lights in the scene.
exportCamerabooleanReadGets whether export all cameras in the scene.
duplicatedNameSeparatorStringReadThe separator between object’s name and the duplicated counter, default value is “_”.
duplicatedNameCounterBaseintReadThe counter used by generating new name for duplicated names, default value is 2.
duplicatedNameCounterFormatStringReadThe format of the duplicated counter, default value is empty string.
masterScaledoubleReadGets the master scale used in exporting.
gammaCorrectedColorbooleanReadA 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.
flipCoordinateSystembooleanReadGets flip coordinate system of control points/normal during importing/exporting.
highPreciseColorbooleanReadIf this is true, the generated 3ds file will use high precise color, means each channel of red/green/blue are in 32bit float.
exportTexturesbooleanReadTry to copy textures used in scene to output directory.
fileFormatFileFormatReadGets the file format.
fileSystemFactoryFileSystemFactoryReadGets the factory class for FileSystem.
encodingjava.nio.charset.CharsetReadGets the default encoding for text-based files.
fileSystemFileSystemReadAllow user to handle how to manage the external dependencies during load/save.
lookupPathsjava.util.ArrayList<String>ReadSome files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
fileNameStringReadThe file name of the exporting/importing scene.

Methods

SignatureDescription
Discreet3dsSaveOptions()Constructor of Discreet3dsSaveOptions.
getExportLight()booleanGets whether export all lights in the scene.
setExportLight(value: boolean)Sets whether export all lights in the scene.
getExportCamera()booleanGets whether export all cameras in the scene.
setExportCamera(value: boolean)Sets whether export all cameras in the scene.
getDuplicatedNameSeparator()StringThe separator between object’s name and the duplicated counter, default value is “_”.
setDuplicatedNameSeparator(value: String)The separator between object’s name and the duplicated counter, default value is “_”.
getDuplicatedNameCounterBase()intThe counter used by generating new name for duplicated names, default value is 2.
setDuplicatedNameCounterBase(value: int)The counter used by generating new name for duplicated names, default value is 2.
getDuplicatedNameCounterFormat()StringThe format of the duplicated counter, default value is empty string.
setDuplicatedNameCounterFormat(value: String)The format of the duplicated counter, default value is empty string.
getMasterScale()doubleGets the master scale used in exporting.
setMasterScale(value: double)Sets the master scale used in exporting.
getGammaCorrectedColor()booleanA 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.
setGammaCorrectedColor(value: boolean)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.
getFlipCoordinateSystem()booleanGets flip coordinate system of control points/normal during importing/exporting.
setFlipCoordinateSystem(value: boolean)Sets flip coordinate system of control points/normal during importing/exporting.
getHighPreciseColor()booleanIf this is true, the generated 3ds file will use high precise color, means each channel of red/green/blue are in 32bit float.
setHighPreciseColor(value: boolean)If this is true, the generated 3ds file will use high precise color, means each channel of red/green/blue are in 32bit float.
SaveOptions()Initializes a new instance of the SaveOptions class.
SaveOptions(format: FileFormat)Initializes a new instance of the SaveOptions class with a file format.
SaveOptions(contentType: FileContentType)Initializes a new instance of the SaveOptions class with a file content type.
getExportTextures()booleanTry to copy textures used in scene to output directory.
setExportTextures(value: boolean)Try to copy textures used in scene to output directory.
getFileFormat()FileFormatReturns the file format.
getFileSystemFactory()FileSystemFactoryGets the factory class for FileSystem.
setFileSystemFactory(value: FileSystemFactory)Sets the factory class for FileSystem.
getEncoding()java.nio.charset.CharsetGets the default encoding for text-based files.
setEncoding(value: java.nio.charset.Charset)Sets the default encoding for text-based files.
getFileSystem()FileSystemAllow user to handle how to manage the external dependencies during load/save.
setFileSystem(value: FileSystem)Allow user to handle how to manage the external dependencies during load/save.
getLookupPaths()java.util.ArrayList<String>Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
setLookupPaths(value: java.util.ArrayList<String>)Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
getFileName()StringThe file name of the exporting/importing scene.
setFileName(value: String)The file name of the exporting/importing scene.

See Also

 English