U3dSaveOptions
Overview
U3dSaveOptions is a class in Aspose.3D FOSS for Java.
Inherits from: SaveOptions.
Save options for universal 3d.
This class provides 31 methods for working with U3dSaveOptions objects in Java programs.
Available methods include: SaveOptions, U3dSaveOptions, getEmbedTextures, getEncoding, getExportNormals, getExportTextureCoordinates, getExportTextures, getExportVertexDiffuse, getExportVertexSpecular, getFileFormat, getFileName, getFileSystem, and 17 additional methods.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: embedTextures, encoding, exportNormals, exportTextureCoordinates, exportTextures, exportVertexDiffuse, and 8 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
flipCoordinateSystem | boolean | Read | Gets whether flip coordinate system of control points/normal during importing/exporting. |
meshCompression | boolean | Read | Gets whether to enable mesh data compression. |
exportNormals | boolean | Read | Gets whether to export normal data. |
exportTextureCoordinates | boolean | Read | Gets whether to export texture coordinates. |
exportVertexDiffuse | boolean | Read | Gets whether to export vertex’s diffuse color. |
exportVertexSpecular | boolean | Read | Gets whether to export vertex’s specular color. |
embedTextures | boolean | Read | Embed the external textures into the U3D file, default value is false. |
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 |
|---|---|
U3dSaveOptions() | Constructor of U3dSaveOptions. |
getFlipCoordinateSystem() → boolean | Gets whether flip coordinate system of control points/normal during importing/exporting. |
setFlipCoordinateSystem(value: boolean) | Sets whether flip coordinate system of control points/normal during importing/exporting. |
getMeshCompression() → boolean | Gets whether to enable mesh data compression. |
setMeshCompression(value: boolean) | Sets whether to enable mesh data compression. |
getExportNormals() → boolean | Gets whether to export normal data. |
setExportNormals(value: boolean) | Sets whether to export normal data. |
getExportTextureCoordinates() → boolean | Gets whether to export texture coordinates. |
setExportTextureCoordinates(value: boolean) | Sets whether to export texture coordinates. |
getExportVertexDiffuse() → boolean | Gets whether to export vertex’s diffuse color. |
setExportVertexDiffuse(value: boolean) | Sets whether to export vertex’s diffuse color. |
getExportVertexSpecular() → boolean | Gets whether to export vertex’s specular color. |
setExportVertexSpecular(value: boolean) | Sets whether to export vertex’s specular color. |
getEmbedTextures() → boolean | Embed the external textures into the U3D file, default value is false. |
setEmbedTextures(value: boolean) | Embed the external textures into the U3D file, default value is false. |
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. |