UsdSaveOptions class

UsdSaveOptions class

Save options for USD/USDZ formats.

Inheritance: UsdSaveOptionsSaveOptionsIOConfig

The UsdSaveOptions type exposes the following members:

Constructors

ConstructorDescription
initInitialize a new UsdSaveOptions with FileFormat.USD format
initInitialize a new UsdSaveOptions with specified USD/USDZ format.

Properties

PropertyDescription
file_formatGets the file format that specified in current Save/Load option.
encodingGets or sets the default encoding for text-based files.
Default value is null which means the importer/exporter will decide which encoding to use.
file_systemAllow user to handle how to manage the external dependencies during load/save.
lookup_pathsSome files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
file_nameThe file name of the exporting/importing scene.
This is optional, but useful when serialize external assets like OBJ’s material.
export_texturesTry to copy textures used in scene to output directory.
primitive_to_meshConvert 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.
export_meta_dataExport node’s properties through USD’s customData field.

See Also