PlySaveOptions
Overview
PlySaveOptions is a class in Aspose.3D FOSS for .NET.
Inherits from: SaveOptions.
PlySaveOptions.PlySaveOptions constructs a new instance with default PLY save settings.
This class provides 4 methods for working with PlySaveOptions objects in .NET programs.
Available methods include: PlySaveOptions, SaveOptions.
All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.
Properties: AxisSystem, ColorComponents, Encoding, ExportTextures, FaceElement, FaceProperty, and 11 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
PointCloud | bool | Read/Write | Export the scene as point cloud, the default value is false. |
FlipCoordinate | bool | Read/Write | Flip the coordinate while saving the scene, default value is true |
VertexElement | string | Read/Write | The element name for the vertex data, default value is “vertex” |
PositionComponents | Tuple<string, string, string> | Read/Write | The component names for position data, default value is (“x”, “y”, “z”) |
NormalComponents | Tuple<string, string, string> | Read/Write | The component names for normal data, default value is (“nx”, “ny”, “nz”) |
TextureCoordinateComponents | Tuple<string, string> | Read/Write | The component names for texture coordinate data, default value is (“u”, “v”) |
ColorComponents | Tuple<string, string, string> | Read/Write | The component names for vertex color, default value is (“red”, “green”, “blue”) |
FaceElement | string | Read/Write | The element name for the face data, default value is “face” |
FaceProperty | string | Read/Write | The property name for the face data, default value is “vertex_index” |
AxisSystem | AxisSystem | Read/Write | Gets or sets the axis system in the exported stl 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 |
|---|---|
PlySaveOptions() | Constructs a new instance with default PLY save settings |
PlySaveOptions(contentType: FileContentType) | Constructor of |
SaveOptions() | Initializes a new instance of the SaveOptions class. |
SaveOptions(format: FileFormat) | Initializes a new instance of the SaveOptions class with a file format. |