ObjSaveOptions
Overview
ObjSaveOptions is a class in Aspose.3D FOSS for .NET.
Inherits from: SaveOptions.
Save options for Wavefront OBJ format
This class provides 3 methods for working with ObjSaveOptions objects in .NET programs.
Available methods include: ObjSaveOptions, SaveOptions.
All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.
Properties: ApplyUnitScale, AxisSystem, EnableMaterials, Encoding, ExportTextures, FileFormat, and 8 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
ApplyUnitScale | bool | Read/Write | Apply to the mesh. |
PointCloud | bool | Read/Write | Gets or sets the flag whether the exporter should export the scene as point cloud(without topological structure), default value is false |
Verbose | bool | Read/Write | Gets or sets whether generate comments for each section |
SerializeW | bool | Read/Write | Gets or sets whether serialize W component in model’s vertex position. |
EnableMaterials | bool | Read/Write | Gets or sets whether import/export materials for each object |
FlipCoordinateSystem | bool | Read/Write | Gets or sets whether flip coordinate system of control points/normal during importing/exporting. |
AxisSystem | AxisSystem | Read/Write | Gets or sets the axis system in the exported file. |
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 |
|---|---|
ObjSaveOptions() | Initializes a new instance of the ObjSaveOptions class |
SaveOptions() | Initializes a new instance of the SaveOptions class. |
SaveOptions(format: FileFormat) | Initializes a new instance of the SaveOptions class with a file format. |