Discreet3dsLoadOptions

Overview

Discreet3dsLoadOptions is a class in Aspose.3D FOSS for Java. Inherits from: LoadOptions.

Load options for 3DS file.

This class provides 20 methods for working with Discreet3dsLoadOptions objects in Java programs. Available methods include: Discreet3dsLoadOptions, LoadOptions, getApplyAnimationTransform, getEncoding, getFileFormat, getFileName, getFileSystem, getFileSystemFactory, getFlipCoordinateSystem, getGammaCorrectedColor, getLookupPaths, setApplyAnimationTransform, and 7 additional methods. All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package. Properties: applyAnimationTransform, encoding, fileFormat, fileName, fileSystem, fileSystemFactory, and 3 more.

Properties

NameTypeAccessDescription
gammaCorrectedColorbooleanRead/WriteA 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.
flipCoordinateSystembooleanRead/WriteGets flip coordinate system of control points/normal during importing/exporting.
applyAnimationTransformbooleanRead/WriteGets whether to use the transformation defined in the first frame of animation track.
fileFormatFileFormatReadGets the file format.
fileSystemFactoryFileSystemFactoryReadGets the factory class for FileSystem.
encodingjava.nio.charset.CharsetRead/WriteGets the default encoding for text-based files.
fileSystemFileSystemRead/WriteAllow user to handle how to manage the external dependencies during load/save.
lookupPathsjava.util.ArrayList<String>Read/WriteSome files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
fileNameStringRead/WriteThe file name of the exporting/importing scene.

Methods

SignatureDescription
Discreet3dsLoadOptions()Constructor of Discreet3dsLoadOptions.
getGammaCorrectedColor() → booleanA 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() → booleanGets flip coordinate system of control points/normal during importing/exporting.
setFlipCoordinateSystem(value: boolean)Sets flip coordinate system of control points/normal during importing/exporting.
getApplyAnimationTransform() → booleanGets whether to use the transformation defined in the first frame of animation track.
setApplyAnimationTransform(value: boolean)Sets whether to use the transformation defined in the first frame of animation track.
LoadOptions()Initializes a new instance of the LoadOptions class.
LoadOptions(format: FileFormat)Initializes a new instance of the LoadOptions class with a file format.
getFileFormat() → FileFormatA 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.
getFileSystemFactory() → FileSystemFactoryGets the factory class for FileSystem.
setFileSystemFactory(value: FileSystemFactory)Sets the factory class for FileSystem.
getEncoding() → java.nio.charset.CharsetGets the default encoding for text-based files.
setEncoding(value: java.nio.charset.Charset)Sets the default encoding for text-based files.
getFileSystem() → FileSystemAllow 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() → StringThe file name of the exporting/importing scene.
setFileName(value: String)The file name of the exporting/importing scene.

See Also

 English