UsdSaveOptions

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

NameTypeAccessDescription
PrimitiveToMeshboolRead/WriteConvert the primitive entities to mesh during the export.
ExportMetaDataboolRead/WriteExport node’s properties through USD’s customData field.
MaterialConverterMaterialConverterRead/WriteCustom 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.
ExportTexturesboolRead/WriteTry to copy textures used in scene to output directory.
FileSystemFactoryFileSystemFactoryRead/WriteGets or sets the factory class for FileSystem.
FileFormatFileFormatReadGets the file format that specified in current Save/Load option.
EncodingEncodingRead/WriteGets or sets the default encoding for text-based files.
FileSystemFileSystemRead/WriteAllow user to handle how to manage the external dependencies during load/save.
LookupPathsList<string>Read/WriteSome files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
FileNamestringRead/WriteThe file name of the exporting/importing scene.

Methods

SignatureDescription
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.

See Also

 English