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
| Name | Type | Access | Description |
|---|---|---|---|
exportLight | boolean | Read | Gets whether export all lights in the scene. |
exportCamera | boolean | Read | Gets whether export all cameras in the scene. |
duplicatedNameSeparator | String | Read | The separator between object’s name and the duplicated counter, default value is “_”. |
duplicatedNameCounterBase | int | Read | The counter used by generating new name for duplicated names, default value is 2. |
duplicatedNameCounterFormat | String | Read | The format of the duplicated counter, default value is empty string. |
masterScale | double | Read | Gets the master scale used in exporting. |
gammaCorrectedColor | boolean | Read | 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. | |||
flipCoordinateSystem | boolean | Read | Gets flip coordinate system of control points/normal during importing/exporting. |
highPreciseColor | boolean | Read | If this is true, the generated 3ds file will use high precise color, means each channel of red/green/blue are in 32bit float. |
exportTextures | boolean | Read | Try to copy textures used in scene to output directory. |
fileFormat | FileFormat | Read | Gets the file format. |
fileSystemFactory | FileSystemFactory | Read | Gets the factory class for FileSystem. |
encoding | java.nio.charset.Charset | Read | Gets the default encoding for text-based files. |
fileSystem | FileSystem | Read | Allow user to handle how to manage the external dependencies during load/save. |
lookupPaths | java.util.ArrayList<String> | Read | Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load. |
fileName | String | Read | The file name of the exporting/importing scene. |
Methods
| Signature | Description |
|---|---|
Discreet3dsSaveOptions() | Constructor of Discreet3dsSaveOptions. |
getExportLight() → boolean | Gets whether export all lights in the scene. |
setExportLight(value: boolean) | Sets whether export all lights in the scene. |
getExportCamera() → boolean | Gets whether export all cameras in the scene. |
setExportCamera(value: boolean) | Sets whether export all cameras in the scene. |
getDuplicatedNameSeparator() → String | The 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() → int | The 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() → String | The 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() → double | Gets the master scale used in exporting. |
setMasterScale(value: double) | Sets the master scale used in exporting. |
getGammaCorrectedColor() → 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. | |
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() → boolean | Gets 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() → 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. |
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() → boolean | Try to copy textures used in scene to output directory. |
setExportTextures(value: boolean) | Try to copy textures used in scene to output directory. |
getFileFormat() → FileFormat | Returns the file format. |
getFileSystemFactory() → FileSystemFactory | Gets the factory class for FileSystem. |
setFileSystemFactory(value: FileSystemFactory) | Sets the factory class for FileSystem. |
getEncoding() → java.nio.charset.Charset | Gets the default encoding for text-based files. |
setEncoding(value: java.nio.charset.Charset) | Sets the default encoding for text-based files. |
getFileSystem() → FileSystem | Allow 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() → String | The file name of the exporting/importing scene. |
setFileName(value: String) | The file name of the exporting/importing scene. |