FbxSaveOptions

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

NameTypeAccessDescription
reusePrimitiveMeshbooleanReadReuse 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).
enableCompressionbooleanReadCompression large binary data in the FBX file(e.g.
foldRepeatedCurveDataBooleanReadGets or sets whether reuse repeated curve data by increasing last data’s ref count
@return Boolean value or null.
exportLegacyMaterialPropertiesbooleanReadGets or sets whether export legacy material properties, used for back compatibility.
videoForTexturebooleanReadGets or sets whether generate a Video instance for texture when exporting as FBX.
embedTexturesbooleanReadGets or sets whether to embed the texture to the final output file.
generateVertexElementMaterialbooleanReadGets or sets whether always generate a VertexElementMaterial for geometries if the attached node contains materials.
exportTexturesbooleanReadTry to copy textures used in scene to output directory.
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
FbxSaveOptions()Initializes a FbxSaveOptions.
FbxSaveOptions(format: FileFormat)Initializes a FbxSaveOptions.
FbxSaveOptions(contentType: FileContentType)Initialize a FbxSaveOptions with a content type.
getReusePrimitiveMesh()booleanReuse 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()booleanCompression large binary data in the FBX file(e.g.
setEnableCompression(value: boolean)Sets whether to compress large binary data in the FBX file.
getFoldRepeatedCurveData()BooleanGets 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()booleanGets or sets whether export legacy material properties, used for back compatibility.
setExportLegacyMaterialProperties(value: boolean)Sets whether to export legacy material properties.
getVideoForTexture()booleanGets 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()booleanGets 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()booleanGets 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()booleanTry to copy textures used in scene to output directory.
setExportTextures(value: boolean)Try to copy textures used in scene to output directory.
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