PlySaveOptions

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

NameTypeAccessDescription
PointCloudboolRead/WriteExport the scene as point cloud, the default value is false.
FlipCoordinateboolRead/WriteFlip the coordinate while saving the scene, default value is true
VertexElementstringRead/WriteThe element name for the vertex data, default value is “vertex”
PositionComponentsTuple<string, string, string>Read/WriteThe component names for position data, default value is (“x”, “y”, “z”)
NormalComponentsTuple<string, string, string>Read/WriteThe component names for normal data, default value is (“nx”, “ny”, “nz”)
TextureCoordinateComponentsTuple<string, string>Read/WriteThe component names for texture coordinate data, default value is (“u”, “v”)
ColorComponentsTuple<string, string, string>Read/WriteThe component names for vertex color, default value is (“red”, “green”, “blue”)
FaceElementstringRead/WriteThe element name for the face data, default value is “face”
FacePropertystringRead/WriteThe property name for the face data, default value is “vertex_index”
AxisSystemAxisSystemRead/WriteGets or sets the axis system in the exported stl file.
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
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.

See Also

 English