FbxSaveOptions
Overview
FbxSaveOptions is a class in Aspose.3D FOSS for Java.
Inherits from: SaveOptions.
Save options for FBX format.
This class provides 33 methods for working with FbxSaveOptions objects in Java programs.
Available methods include: FbxSaveOptions, SaveOptions, getEmbedTextures, getEnableCompression, getEncoding, getExportLegacyMaterialProperties, getExportTextures, getFileFormat, getFileName, getFileSystem, getFileSystemFactory, getFoldRepeatedCurveData, and 17 additional methods.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: embedTextures, enableCompression, encoding, exportLegacyMaterialProperties, exportTextures, fileFormat, and 8 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
reusePrimitiveMesh | boolean | Read | Reuse the mesh for the primitives with same parameters, this will significantly reduce the size of FBX output which scene was constructed by large set of primitive shapes(like imported from CAD files). |
enableCompression | boolean | Read | Compression large binary data in the FBX file(e.g. |
foldRepeatedCurveData | Boolean | Read | Gets or sets whether reuse repeated curve data by increasing last data’s ref count |
| @return Boolean value or null. | |||
exportLegacyMaterialProperties | boolean | Read | Gets or sets whether export legacy material properties, used for back compatibility. |
videoForTexture | boolean | Read | Gets or sets whether generate a Video instance for texture when exporting as FBX. |
embedTextures | boolean | Read | Gets or sets whether to embed the texture to the final output file. |
generateVertexElementMaterial | boolean | Read | Gets or sets whether always generate a VertexElementMaterial for geometries if the attached node contains materials. |
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 |
|---|---|
FbxSaveOptions() | Initializes a FbxSaveOptions. |
FbxSaveOptions(format: FileFormat) | Initializes a FbxSaveOptions. |
FbxSaveOptions(contentType: FileContentType) | Initialize a FbxSaveOptions with a content type. |
getReusePrimitiveMesh() → boolean | Reuse the mesh for the primitives with same parameters, this will significantly reduce the size of FBX output which scene was constructed by large set of primitive shapes(like imported from CAD files). |
setReusePrimitiveMesh(value: boolean) | Sets whether to reuse the mesh for the primitives with same parameters. |
getEnableCompression() → boolean | Compression large binary data in the FBX file(e.g. |
setEnableCompression(value: boolean) | Sets whether to compress large binary data in the FBX file. |
getFoldRepeatedCurveData() → Boolean | Gets or sets whether reuse repeated curve data by increasing last data’s ref count |
| @return Boolean value or null. | |
setFoldRepeatedCurveData(value: Boolean) | Sets whether to reuse repeated curve data. |
getExportLegacyMaterialProperties() → boolean | Gets or sets whether export legacy material properties, used for back compatibility. |
setExportLegacyMaterialProperties(value: boolean) | Sets whether to export legacy material properties. |
getVideoForTexture() → boolean | Gets or sets whether generate a Video instance for texture when exporting as FBX. |
setVideoForTexture(value: boolean) | Sets whether to generate a Video instance for texture when exporting as FBX. |
getEmbedTextures() → boolean | Gets or sets whether to embed the texture to the final output file. |
setEmbedTextures(value: boolean) | Sets whether to embed the texture to the final output file. |
getGenerateVertexElementMaterial() → boolean | Gets or sets whether always generate a VertexElementMaterial for geometries if the attached node contains materials. |
setGenerateVertexElementMaterial(value: boolean) | Sets whether to always generate a VertexElementMaterial for geometries. |
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. |