public class FbxSaveOptions extends SaveOptions
Constructor and Description |
---|
FbxSaveOptions(FileContentType contentType)
Initialize a
FbxSaveOptions using latest supported version. |
FbxSaveOptions(FileFormat format)
Initializes a
FbxSaveOptions |
Modifier and Type | Method and Description |
---|---|
boolean |
getEmbedTextures()
Gets whether to embed the texture to the final output file.
|
boolean |
getEnableCompression()
Compression large binary data in the FBX file(e.g.
|
boolean |
getExportLegacyMaterialProperties()
Gets whether export legacy material properties, used for back compatibility.
|
java.lang.Boolean |
getFoldRepeatedCurveData()
Gets whether reuse repeated curve data by increasing last data's ref count
|
boolean |
getGenerateVertexElementMaterial()
Gets whether always generate a
VertexElementMaterial for geometries if the attached node contains materials. |
boolean |
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).
|
boolean |
getVideoForTexture()
Gets whether generate a Video instance for
Texture when exporting as FBX. |
void |
setEmbedTextures(boolean value)
Sets whether to embed the texture to the final output file.
|
void |
setEnableCompression(boolean value)
Compression large binary data in the FBX file(e.g.
|
void |
setExportLegacyMaterialProperties(boolean value)
Sets whether export legacy material properties, used for back compatibility.
|
void |
setFoldRepeatedCurveData(java.lang.Boolean value)
Sets whether reuse repeated curve data by increasing last data's ref count
|
void |
setGenerateVertexElementMaterial(boolean value)
Sets whether always generate a
VertexElementMaterial for geometries if the attached node contains materials. |
void |
setReusePrimitiveMesh(boolean 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).
|
void |
setVideoForTexture(boolean value)
Sets whether generate a Video instance for
Texture when exporting as FBX. |
getEncoding, getFileFormat, getFileName, getFileSystem, getFileSystemFactory, getLookupPaths, lookupForFile, setEncoding, setFileName, setFileSystem, setFileSystemFactory, setLookupPaths
public FbxSaveOptions(FileFormat format)
FbxSaveOptions
format
- public FbxSaveOptions(FileContentType contentType)
FbxSaveOptions
using latest supported version.contentType
- public boolean getReusePrimitiveMesh()
public void setReusePrimitiveMesh(boolean value)
value
- New valuepublic boolean getEnableCompression()
public void setEnableCompression(boolean value)
value
- New valuepublic java.lang.Boolean getFoldRepeatedCurveData()
public void setFoldRepeatedCurveData(java.lang.Boolean value)
value
- New valuepublic boolean getExportLegacyMaterialProperties()
public void setExportLegacyMaterialProperties(boolean value)
value
- New valuepublic boolean getVideoForTexture()
Texture
when exporting as FBX.public void setVideoForTexture(boolean value)
Texture
when exporting as FBX.value
- New valuepublic boolean getEmbedTextures()
IOConfig.getFileSystem()
, and embed the file to final FBX file.
Default value is false.public void setEmbedTextures(boolean value)
IOConfig.getFileSystem()
, and embed the file to final FBX file.
Default value is false.value
- New valuepublic boolean getGenerateVertexElementMaterial()
VertexElementMaterial
for geometries if the attached node contains materials.
This is turned off by default.public void setGenerateVertexElementMaterial(boolean value)
VertexElementMaterial
for geometries if the attached node contains materials.
This is turned off by default.value
- New value