ObjSaveOptions
Overview
ObjSaveOptions is a class in Aspose.3D FOSS for Java.
Inherits from: SaveOptions.
ObjSaveOptions provides options for exporting OBJ files, including unit scaling, point‑cloud export, material handling, and coordinate system flipping.
This class provides 31 methods for working with ObjSaveOptions objects in Java programs.
Available methods include: ObjSaveOptions, SaveOptions, getApplyUnitScale, getAxisSystem, getEnableMaterials, getEncoding, getExportTextures, getFileFormat, getFileName, getFileSystem, getFileSystemFactory, getFlipCoordinateSystem, and 17 additional methods.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: applyUnitScale, axisSystem, enableMaterials, encoding, exportTextures, fileFormat, and 8 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
applyUnitScale | boolean | Read | Gets the apply unit scale. |
pointCloud | boolean | Read | Gets the point cloud. |
verbose | boolean | Read | Gets the verbose. |
serializeW | boolean | Read | Gets the serialize w. |
enableMaterials | boolean | Read | Gets the enable materials. |
flipCoordinateSystem | boolean | Read | Gets the flip coordinate system. |
axisSystem | AxisSystem | Read | Gets the axis system. |
exportTextures | boolean | Read | Try to copy textures used in scene to output directory. |
fileFormat | FileFormat | Read | Gets the file format. |
fileSystemFactory | FileSystemFactory | Read | Gets the factory class for FileSystem. |
encoding | java.nio.charset.Charset | Read | Gets the default encoding for text-based files. |
fileSystem | FileSystem | Read | Allow user to handle how to manage the external dependencies during load/save. |
lookupPaths | java.util.ArrayList<String> | Read | Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load. |
fileName | String | Read | The file name of the exporting/importing scene. |
Methods
| Signature | Description |
|---|---|
ObjSaveOptions() | Calls ObjSaveOptions on this ObjSaveOptions instance. |
getApplyUnitScale() → boolean | Returns the apply unit scale. |
setApplyUnitScale(value: boolean) | Sets the apply unit scale value. |
getPointCloud() → boolean | Returns the point cloud. |
setPointCloud(value: boolean) | Sets the point cloud value. |
getVerbose() → boolean | Returns the verbose. |
setVerbose(value: boolean) | Sets the verbose value. |
getSerializeW() → boolean | Returns the serialize w. |
setSerializeW(value: boolean) | Sets the serialize w value. |
getEnableMaterials() → boolean | Returns the enable materials. |
setEnableMaterials(value: boolean) | Sets the enable materials value. |
getFlipCoordinateSystem() → boolean | Returns the flip coordinate system. |
setFlipCoordinateSystem(value: boolean) | Sets the flip coordinate system value. |
getAxisSystem() → AxisSystem | Returns the axis system. |
setAxisSystem(value: AxisSystem) | Sets the axis system value. |
SaveOptions() | Initializes a new instance of the SaveOptions class. |
SaveOptions(format: FileFormat) | Initializes a new instance of the SaveOptions class with a file format. |
SaveOptions(contentType: FileContentType) | Initializes a new instance of the SaveOptions class with a file content type. |
getExportTextures() → boolean | Try to copy textures used in scene to output directory. |
setExportTextures(value: boolean) | Try to copy textures used in scene to output directory. |
getFileFormat() → FileFormat | Returns the file format. |
getFileSystemFactory() → FileSystemFactory | Gets the factory class for FileSystem. |
setFileSystemFactory(value: FileSystemFactory) | Sets the factory class for FileSystem. |
getEncoding() → java.nio.charset.Charset | Gets the default encoding for text-based files. |
setEncoding(value: java.nio.charset.Charset) | Sets the default encoding for text-based files. |
getFileSystem() → FileSystem | Allow 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() → String | The file name of the exporting/importing scene. |
setFileName(value: String) | The file name of the exporting/importing scene. |