UsdSaveOptions class
UsdSaveOptions class
Save options for USD/USDZ formats.
Inheritance: UsdSaveOptions →
SaveOptions →
IOConfig
The UsdSaveOptions type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
__init__(self) | Initialize a new UsdSaveOptions with FileFormat.USD format |
__init__(self, file_format) | Initialize a new UsdSaveOptions with specified USD/USDZ format. |
Properties
| Property | Description |
|---|---|
| file_format | Gets the file format that specified in current Save/Load option. |
| encoding | 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. | |
| file_system | Allow user to handle how to manage the external dependencies during load/save. |
| lookup_paths | Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load. |
| file_name | The file name of the exporting/importing scene. |
This is optional, but useful when serialize external assets like OBJ’s material. | |
| export_textures | Try to copy textures used in scene to output directory. |
| primitive_to_mesh | 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. | |
| export_meta_data | Export node’s properties through USD’s customData field. |
See Also
- module
aspose.threed.formats - class
IOConfig - class
SaveOptions - class
UsdSaveOptions