Discreet3dsSaveOptions
Contents
[
Hide
]Discreet3dsSaveOptions class
Save options for 3DS file.
Methods
constructor
Name | Description |
---|---|
constructor() | Constructor of Discreet3dsSaveOptions |
Result:
getExportLight
Name | Description |
---|---|
getExportLight() | Gets or sets whether export all lights in the scene. |
Result:
setExportLight
Name | Description |
---|---|
setExportLight(value) | Gets or sets whether export all lights in the scene. |
Result:
getExportCamera
Name | Description |
---|---|
getExportCamera() | Gets or sets whether export all cameras in the scene. |
Result:
setExportCamera
Name | Description |
---|---|
setExportCamera(value) | Gets or sets whether export all cameras in the scene. |
Result:
getDuplicatedNameSeparator
Name | Description |
---|---|
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
Name | Description |
---|---|
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
Name | Description |
---|---|
getDuplicatedNameCounterBase() | The counter used by generating new name for duplicated names, default value is 2. |
Result:
setDuplicatedNameCounterBase
Name | Description |
---|---|
setDuplicatedNameCounterBase(value) | The counter used by generating new name for duplicated names, default value is 2. |
Result:
getDuplicatedNameCounterFormat
Name | Description |
---|---|
getDuplicatedNameCounterFormat() | The format of the duplicated counter, default value is empty string. |
Result:
setDuplicatedNameCounterFormat
Name | Description |
---|---|
setDuplicatedNameCounterFormat(value) | The format of the duplicated counter, default value is empty string. |
Result:
getMasterScale
Name | Description |
---|---|
getMasterScale() | Gets or sets the master scale used in exporting. |
Result:
setMasterScale
Name | Description |
---|---|
setMasterScale(value) | Gets or sets the master scale used in exporting. |
Result:
getGammaCorrectedColor
Name | Description |
---|---|
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
Name | Description |
---|---|
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
Name | Description |
---|---|
getFlipCoordinateSystem() | Gets or sets flip coordinate system of control points/normal during importing/exporting. |
Result:
setFlipCoordinateSystem
Name | Description |
---|---|
setFlipCoordinateSystem(value) | Gets or sets flip coordinate system of control points/normal during importing/exporting. |
Result:
getHighPreciseColor
Name | Description |
---|---|
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
Name | Description |
---|---|
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
Name | Description |
---|---|
getExportTextures() | Try to copy textures used in scene to output directory. |
Result:
setExportTextures
Name | Description |
---|---|
setExportTextures(value) | Try to copy textures used in scene to output directory. |
Result:
getFileFormat
Name | Description |
---|---|
getFileFormat() | Gets the file format that specified in current Save/Load option. |
Result:
getEncoding
Name | Description |
---|---|
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
Name | Description |
---|---|
getFileSystem() | Allow user to handle how to manage the external dependencies during load/save. |
Result:
setFileSystem
Name | Description |
---|---|
setFileSystem(value) | Allow user to handle how to manage the external dependencies during load/save. |
Result:
getLookupPaths
Name | Description |
---|---|
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
Name | Description |
---|---|
getFileName() | The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material. |
Result:
setFileName
Name | Description |
---|---|
setFileName(value) | The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material. |
Result: