Package com.aspose.threed
Class Discreet3dsSaveOptions
- java.lang.Object
-
- com.aspose.threed.IOConfig
-
- com.aspose.threed.SaveOptions
-
- com.aspose.threed.Discreet3dsSaveOptions
-
public class Discreet3dsSaveOptions extends SaveOptions
Save options for 3DS file.
-
-
Constructor Summary
Constructors Constructor Description Discreet3dsSaveOptions()
Constructor ofDiscreet3dsSaveOptions
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDuplicatedNameCounterBase()
The counter used by generating new name for duplicated names, default value is 2.java.lang.String
getDuplicatedNameCounterFormat()
The format of the duplicated counter, default value is empty string.java.lang.String
getDuplicatedNameSeparator()
The separator between object's name and the duplicated counter, default value is "_".boolean
getExportCamera()
Gets whether export all cameras in the scene.boolean
getExportLight()
Gets whether export all lights in the scene.boolean
getFlipCoordinateSystem()
Gets flip coordinate system of control points/normal during importing/exporting.boolean
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.boolean
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.double
getMasterScale()
Gets the master scale used in exporting.void
setDuplicatedNameCounterBase(int value)
The counter used by generating new name for duplicated names, default value is 2.void
setDuplicatedNameCounterFormat(java.lang.String value)
The format of the duplicated counter, default value is empty string.void
setDuplicatedNameSeparator(java.lang.String value)
The separator between object's name and the duplicated counter, default value is "_".void
setExportCamera(boolean value)
Sets whether export all cameras in the scene.void
setExportLight(boolean value)
Sets whether export all lights in the scene.void
setFlipCoordinateSystem(boolean value)
Sets flip coordinate system of control points/normal during importing/exporting.void
setGammaCorrectedColor(boolean 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.void
setHighPreciseColor(boolean 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.void
setMasterScale(double value)
Sets the master scale used in exporting.-
Methods inherited from class com.aspose.threed.IOConfig
getEncoding, getFileFormat, getFileName, getFileSystem, getFileSystemFactory, getLookupPaths, lookupForFile, setEncoding, setFileName, setFileSystem, setFileSystemFactory, setLookupPaths
-
-
-
-
Constructor Detail
-
Discreet3dsSaveOptions
public Discreet3dsSaveOptions()
Constructor ofDiscreet3dsSaveOptions
-
-
Method Detail
-
getExportLight
public boolean getExportLight()
Gets whether export all lights in the scene.
-
setExportLight
public void setExportLight(boolean value)
Sets whether export all lights in the scene.- Parameters:
value
- New value
-
getExportCamera
public boolean getExportCamera()
Gets whether export all cameras in the scene.
-
setExportCamera
public void setExportCamera(boolean value)
Sets whether export all cameras in the scene.- Parameters:
value
- New value
-
getDuplicatedNameSeparator
public java.lang.String 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.
-
setDuplicatedNameSeparator
public void setDuplicatedNameSeparator(java.lang.String 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.- Parameters:
value
- New value
-
getDuplicatedNameCounterBase
public int getDuplicatedNameCounterBase()
The counter used by generating new name for duplicated names, default value is 2.
-
setDuplicatedNameCounterBase
public void setDuplicatedNameCounterBase(int value)
The counter used by generating new name for duplicated names, default value is 2.- Parameters:
value
- New value
-
getDuplicatedNameCounterFormat
public java.lang.String getDuplicatedNameCounterFormat()
The format of the duplicated counter, default value is empty string.
-
setDuplicatedNameCounterFormat
public void setDuplicatedNameCounterFormat(java.lang.String value)
The format of the duplicated counter, default value is empty string.- Parameters:
value
- New value
-
getMasterScale
public double getMasterScale()
Gets the master scale used in exporting.
-
setMasterScale
public void setMasterScale(double value)
Sets the master scale used in exporting.- Parameters:
value
- New value
-
getGammaCorrectedColor
public boolean 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.
-
setGammaCorrectedColor
public void setGammaCorrectedColor(boolean 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.- Parameters:
value
- New value
-
getFlipCoordinateSystem
public boolean getFlipCoordinateSystem()
Gets flip coordinate system of control points/normal during importing/exporting.
-
setFlipCoordinateSystem
public void setFlipCoordinateSystem(boolean value)
Sets flip coordinate system of control points/normal during importing/exporting.- Parameters:
value
- New value
-
getHighPreciseColor
public boolean 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.
-
setHighPreciseColor
public void setHighPreciseColor(boolean 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.- Parameters:
value
- New value
-
-