com.aspose.threed

Interfaces

Classes

Enums

Exceptions

Class Discreet3DSSaveOptions



  • public class Discreet3DSSaveOptions
    extends SaveOptions
    Save options for 3DS file.
    • 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 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(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 String getDuplicatedNameCounterFormat()
        The format of the duplicated counter, default value is empty string.
      • setDuplicatedNameCounterFormat

        public void setDuplicatedNameCounterFormat(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