ObjLoadOptions

ObjLoadOptions

Overview

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

ObjLoadOptions lets developers control OBJ import behavior, including flipping the coordinate system, scaling the model, and enabling or disabling material loading.

This class provides 22 methods for working with ObjLoadOptions objects in Java programs. Available methods include: LoadOptions, ObjLoadOptions, getEnableMaterials, getEncoding, getFileFormat, getFileName, getFileSystem, getFileSystemFactory, getFlipCoordinateSystem, getLookupPaths, getNormalizeNormal, getScale, and 9 additional methods. All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package. Properties: enableMaterials, encoding, fileFormat, fileName, fileSystem, fileSystemFactory, and 4 more.

Properties

NameTypeAccessDescription
flipCoordinateSystembooleanReadGets the flip coordinate system.
enableMaterialsbooleanReadGets the enable materials.
scaledoubleReadGets the scale.
normalizeNormalbooleanReadGets the normalize normal.
fileFormatFileFormatReadGets the file format.
fileSystemFactoryFileSystemFactoryReadGets the factory class for FileSystem.
encodingjava.nio.charset.CharsetReadGets the default encoding for text-based files.
fileSystemFileSystemReadAllow user to handle how to manage the external dependencies during load/save.
lookupPathsjava.util.ArrayList<String>ReadSome files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
fileNameStringReadThe file name of the exporting/importing scene.

Methods

SignatureDescription
ObjLoadOptions()Creates a new ObjLoadOptions object with default option values
getFlipCoordinateSystem()booleanReturns the flip coordinate system.
setFlipCoordinateSystem(value: boolean)Sets the flip coordinate system value.
getEnableMaterials()booleanReturns the enable materials.
setEnableMaterials(value: boolean)Sets the enable materials value.
getScale()doubleReturns the scale.
setScale(value: double)Sets the scale value.
getNormalizeNormal()booleanReturns the normalize normal.
setNormalizeNormal(value: boolean)Sets the normalize normal value.
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()FileFormatReturns the file format.
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