Discreet3dsSaveOptions

Inheritance: java.lang.Object, com.aspose.threed.IOConfig, com.aspose.threed.SaveOptions

public class Discreet3dsSaveOptions extends SaveOptions

Save options for 3DS file.

Constructors

ConstructorDescription
Discreet3dsSaveOptions()Constructor of Discreet3dsSaveOptions

Methods

MethodDescription
equals(Object arg0)
getClass()
getDuplicatedNameCounterBase()The counter used by generating new name for duplicated names, default value is 2.
getDuplicatedNameCounterFormat()The format of the duplicated counter, default value is empty string.
getDuplicatedNameSeparator()The separator between object’s name and the duplicated counter, default value is “_”.
getEncoding()Gets the default encoding for text-based files.
getExportCamera()Gets whether export all cameras in the scene.
getExportLight()Gets whether export all lights in the scene.
getExportTextures()Try to copy textures used in scene to output directory.
getFileFormat()Gets the file format that specified in current Save/Load option.
getFileName()The file name of the exporting/importing scene.
getFileSystem()Allow user to handle how to manage the external dependencies during load/save.
getFileSystemFactory()Gets the factory class for FileSystem.
getFlipCoordinateSystem()Gets flip coordinate system of control points/normal during importing/exporting.
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.
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.
getLookupPaths()Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
getMasterScale()Gets the master scale used in exporting.
hashCode()
notify()
notifyAll()
setDuplicatedNameCounterBase(int value)The counter used by generating new name for duplicated names, default value is 2.
setDuplicatedNameCounterFormat(String value)The format of the duplicated counter, default value is empty string.
setDuplicatedNameSeparator(String value)The separator between object’s name and the duplicated counter, default value is “_”.
setEncoding(Charset value)Sets the default encoding for text-based files.
setExportCamera(boolean value)Sets whether export all cameras in the scene.
setExportLight(boolean value)Sets whether export all lights in the scene.
setExportTextures(boolean value)Try to copy textures used in scene to output directory.
setFileName(String value)The file name of the exporting/importing scene.
setFileSystem(FileSystem value)Allow user to handle how to manage the external dependencies during load/save.
setFileSystemFactory(FileSystemFactory value)Sets the factory class for FileSystem.
setFlipCoordinateSystem(boolean value)Sets flip coordinate system of control points/normal during importing/exporting.
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.
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.
setLookupPaths(ArrayList value)Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
setMasterScale(double value)Sets the master scale used in exporting.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Discreet3dsSaveOptions()

public Discreet3dsSaveOptions()

Constructor of Discreet3dsSaveOptions

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getDuplicatedNameCounterBase()

public int getDuplicatedNameCounterBase()

The counter used by generating new name for duplicated names, default value is 2.

Returns: int

getDuplicatedNameCounterFormat()

public String getDuplicatedNameCounterFormat()

The format of the duplicated counter, default value is empty string.

Returns: java.lang.String

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.

Returns: java.lang.String

getEncoding()

public Charset getEncoding()

Gets the default encoding for text-based files. Default value is null which means the importer/exporter will decide which encoding to use.

Returns: java.nio.charset.Charset

getExportCamera()

public boolean getExportCamera()

Gets whether export all cameras in the scene.

Returns: boolean

getExportLight()

public boolean getExportLight()

Gets whether export all lights in the scene.

Returns: boolean

getExportTextures()

public boolean getExportTextures()

Try to copy textures used in scene to output directory.

Returns: boolean

getFileFormat()

public FileFormat getFileFormat()

Gets the file format that specified in current Save/Load option.

Returns: FileFormat

getFileName()

public String getFileName()

The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material.

Returns: java.lang.String

getFileSystem()

public FileSystem getFileSystem()

Allow user to handle how to manage the external dependencies during load/save.

Returns: FileSystem

getFileSystemFactory()

public static FileSystemFactory getFileSystemFactory()

Gets the factory class for FileSystem. The default factory will create LocalFileSystem which is not suitable for server environment.

Returns: FileSystemFactory

getFlipCoordinateSystem()

public boolean getFlipCoordinateSystem()

Gets flip coordinate system of control points/normal during importing/exporting.

Returns: boolean

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.

Returns: boolean

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.

Returns: boolean

getLookupPaths()

public ArrayList<String> getLookupPaths()

Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.

Returns: java.util.ArrayList<java.lang.String>

getMasterScale()

public double getMasterScale()

Gets the master scale used in exporting.

Returns: double

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setDuplicatedNameCounterBase(int value)

public void setDuplicatedNameCounterBase(int value)

The counter used by generating new name for duplicated names, default value is 2.

Parameters:

ParameterTypeDescription
valueintNew value

setDuplicatedNameCounterFormat(String value)

public void setDuplicatedNameCounterFormat(String value)

The format of the duplicated counter, default value is empty string.

Parameters:

ParameterTypeDescription
valuejava.lang.StringNew value

setDuplicatedNameSeparator(String value)

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:

ParameterTypeDescription
valuejava.lang.StringNew value

setEncoding(Charset value)

public void setEncoding(Charset value)

Sets the default encoding for text-based files. Default value is null which means the importer/exporter will decide which encoding to use.

Parameters:

ParameterTypeDescription
valuejava.nio.charset.CharsetNew value

setExportCamera(boolean value)

public void setExportCamera(boolean value)

Sets whether export all cameras in the scene.

Parameters:

ParameterTypeDescription
valuebooleanNew value

setExportLight(boolean value)

public void setExportLight(boolean value)

Sets whether export all lights in the scene.

Parameters:

ParameterTypeDescription
valuebooleanNew value

setExportTextures(boolean value)

public void setExportTextures(boolean value)

Try to copy textures used in scene to output directory.

Parameters:

ParameterTypeDescription
valuebooleanNew value

setFileName(String value)

public void setFileName(String value)

The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material.

Parameters:

ParameterTypeDescription
valuejava.lang.StringNew value

setFileSystem(FileSystem value)

public void setFileSystem(FileSystem value)

Allow user to handle how to manage the external dependencies during load/save.

Parameters:

ParameterTypeDescription
valueFileSystemNew value

setFileSystemFactory(FileSystemFactory value)

public static void setFileSystemFactory(FileSystemFactory value)

Sets the factory class for FileSystem. The default factory will create LocalFileSystem which is not suitable for server environment.

Parameters:

ParameterTypeDescription
valueFileSystemFactoryNew value

setFlipCoordinateSystem(boolean value)

public void setFlipCoordinateSystem(boolean value)

Sets flip coordinate system of control points/normal during importing/exporting.

Parameters:

ParameterTypeDescription
valuebooleanNew value

setGammaCorrectedColor(boolean value)

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:

ParameterTypeDescription
valuebooleanNew value

setHighPreciseColor(boolean value)

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:

ParameterTypeDescription
valuebooleanNew value

setLookupPaths(ArrayList value)

public void setLookupPaths(ArrayList<String> value)

Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.

Parameters:

ParameterTypeDescription
valuejava.util.ArrayList<java.lang.String>New value

setMasterScale(double value)

public void setMasterScale(double value)

Sets the master scale used in exporting.

Parameters:

ParameterTypeDescription
valuedoubleNew value

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int