UsdSaveOptions
Overview
UsdSaveOptions is a class in Aspose.3D FOSS for .NET.
Inherits from: SaveOptions.
Save options for USD/USDZ formats.
This class provides 3 methods for working with UsdSaveOptions objects in .NET programs.
Available methods include: SaveOptions, UsdSaveOptions.
All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.
Properties: Encoding, ExportMetaData, ExportTextures, FileFormat, FileName, FileSystem, and 4 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
PrimitiveToMesh | bool | Read/Write | Convert the primitive entities to mesh during the export. |
ExportMetaData | bool | Read/Write | Export node’s properties through USD’s customData field. |
MaterialConverter | MaterialConverter | Read/Write | 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. |
ExportTextures | bool | Read/Write | Try to copy textures used in scene to output directory. |
FileSystemFactory | FileSystemFactory | Read/Write | Gets or sets the factory class for FileSystem. |
FileFormat | FileFormat | Read | Gets the file format that specified in current Save/Load option. |
Encoding | Encoding | Read/Write | Gets or sets the default encoding for text-based files. |
FileSystem | FileSystem | Read/Write | Allow user to handle how to manage the external dependencies during load/save. |
LookupPaths | List<string> | Read/Write | Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load. |
FileName | string | Read/Write | The file name of the exporting/importing scene. |
Methods
| Signature | Description |
|---|---|
UsdSaveOptions() | Initialize a new with format |
UsdSaveOptions(fileFormat: FileFormat) | Initialize a new with specified USD/USDZ format. |
SaveOptions() | Initializes a new instance of the SaveOptions class. |