UsdSaveOptions

UsdSaveOptions class

Save options for USD/USDZ formats.

Methods

constructor

NameDescription
constructor()Initialize a new UsdSaveOptions with FileFormat.USD format

Result:


constructor_overload

NameDescription
constructor_overload(fileFormat)Initialize a new UsdSaveOptions with specified USD/USDZ format.

Result:


getPrimitiveToMesh

NameDescription
getPrimitiveToMesh()Convert the primitive entities to mesh during the export. Or directly encode the primitives to the output file(will use Aspose’s extension definition for unofficial primitives like Dish, Torus) Default value is true.

Result:


setPrimitiveToMesh

NameDescription
setPrimitiveToMesh(value)Convert the primitive entities to mesh during the export. Or directly encode the primitives to the output file(will use Aspose’s extension definition for unofficial primitives like Dish, Torus) Default value is true.

Result:


getExportMetaData

NameDescription
getExportMetaData()Export node’s properties through USD’s customData field.

Result:


setExportMetaData

NameDescription
setExportMetaData(value)Export node’s properties through USD’s customData field.

Result:


getMaterialConverter

NameDescription
getMaterialConverter()Custom converter to convert the geometry’s material to PBR material If this is unassigned, USD exporter will automatically convert the standard material to PBR material. Default value is null

Result:


setMaterialConverter

NameDescription
setMaterialConverter(value)Custom converter to convert the geometry’s material to PBR material If this is unassigned, USD exporter will automatically convert the standard material to PBR material. Default value is null

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: