FbxSaveOptions

FbxSaveOptions class

Save options for Fbx file.

Methods

constructor

NameDescription
constructor(format)Initializes a FbxSaveOptions

Parameters:

NameTypeDescription
formaFileFormatnull

Result:


constructor_overload

NameDescription
constructor_overload(contentType)Initialize a FbxSaveOptions using latest supported version.

Parameters:

NameTypeDescription
contentTypeFileContentTypeFileContentType

Result:


getReusePrimitiveMesh

NameDescription
getReusePrimitiveMesh()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). Default value is false

Result:


setReusePrimitiveMesh

NameDescription
setReusePrimitiveMesh(value)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). Default value is false

Result:


getEnableCompression

NameDescription
getEnableCompression()Compression large binary data in the FBX file(e.g. animation data, control points, vertex element data, indices), default value is true.

Result:


setEnableCompression

NameDescription
setEnableCompression(value)Compression large binary data in the FBX file(e.g. animation data, control points, vertex element data, indices), default value is true.

Result:


getFoldRepeatedCurveData

NameDescription
getFoldRepeatedCurveData()Gets or sets whether reuse repeated curve data by increasing last data’s ref count true if fold repeated curve data; otherwise, false.

Result:


getExportLegacyMaterialProperties

NameDescription
getExportLegacyMaterialProperties()Gets or sets whether export legacy material properties, used for back compatibility. This option is turned on by default.

Result:


setExportLegacyMaterialProperties

NameDescription
setExportLegacyMaterialProperties(value)Gets or sets whether export legacy material properties, used for back compatibility. This option is turned on by default.

Result:


getVideoForTexture

NameDescription
getVideoForTexture()Gets or sets whether generate a Video instance for Texture when exporting as FBX.

Result:


setVideoForTexture

NameDescription
setVideoForTexture(value)Gets or sets whether generate a Video instance for Texture when exporting as FBX.

Result:


getEmbedTextures

NameDescription
getEmbedTextures()Gets or sets whether to embed the texture to the final output file. FBX Exporter will try to find the texture’s raw data from FileSystem, and embed the file to final FBX file. Default value is false.

Result:


setEmbedTextures

NameDescription
setEmbedTextures(value)Gets or sets whether to embed the texture to the final output file. FBX Exporter will try to find the texture’s raw data from FileSystem, and embed the file to final FBX file. Default value is false.

Result:


getGenerateVertexElementMaterial

NameDescription
getGenerateVertexElementMaterial()Gets or sets whether always generate a VertexElementMaterial for geometries if the attached node contains materials. This is turned off by default.

Result:


setGenerateVertexElementMaterial

NameDescription
setGenerateVertexElementMaterial(value)Gets or sets whether always generate a VertexElementMaterial for geometries if the attached node contains materials. This is turned off by default.

Result:


getExportTextures

NameDescription
getExportTextures()Try to copy textures used in scene to output directory.

Result:


setExportTextures

NameDescription
setExportTextures(value)Try to copy textures used in scene to output directory.

Result:


getFileFormat

NameDescription
getFileFormat()Gets the file format that specified in current Save/Load option.

Result:


getEncoding

NameDescription
getEncoding()Gets or sets the default encoding for text-based files. Default value is null which means the importer/exporter will decide which encoding to use.

Result:


getFileSystem

NameDescription
getFileSystem()Allow user to handle how to manage the external dependencies during load/save.

Result:


setFileSystem

NameDescription
setFileSystem(value)Allow user to handle how to manage the external dependencies during load/save.

Result:


getLookupPaths

NameDescription
getLookupPaths()Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.

Result:


getFileName

NameDescription
getFileName()The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material.

Result:


setFileName

NameDescription
setFileName(value)The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material.

Result: