U3dSaveOptions

U3dSaveOptions class

Save options for universal 3d

public class U3dSaveOptions : SaveOptions

Constructors

Name Description
U3dSaveOptions() Constructor of U3dSaveOptions

Properties

Name Description
EmbedTextures { get; set; } Embed the external textures into the U3D file, default value is false.
Encoding { get; set; } 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.
ExportNormals { get; set; } Gets or sets whether to export normal data.
ExportTextureCoordinates { get; set; } Gets or sets whether to export texture coordinates.
ExportVertexDiffuse { get; set; } Gets or sets whether to export vertex’s diffuse color.
ExportVertexSpecular { get; set; } Gets or sets whether to export vertex’ specular color.
FileFormat { get; } Gets the file format that specified in current Save/Load option.
FileName { get; set; } The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material.
FileSystem { get; set; } Allow user to handle how to manage the external dependencies during load/save.
FlipCoordinateSystem { get; set; } Gets or sets whether flip coordinate system of control points/normal during importing/exporting.
LookupPaths { get; set; } Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.
MeshCompression { get; set; } Gets or sets whether to enable mesh data compression.

See Also