PlySaveOptions

PlySaveOptions class

Save options for exporting scene as PLY file.

Methods

constructor

NameDescription
constructor()Constructor of PlySaveOptions

Result:


constructor_overload

NameDescription
constructor_overload(contentType)Constructor of PlySaveOptions

Parameters:

NameTypeDescription
contentTypeFileContentTypeFileContentType

Result:


getPointCloud

NameDescription
getPointCloud()Export the scene as point cloud, the default value is false.

Result:


setPointCloud

NameDescription
setPointCloud(value)Export the scene as point cloud, the default value is false.

Result:


getFlipCoordinate

NameDescription
getFlipCoordinate()Flip the coordinate while saving the scene, default value is true

Result:


setFlipCoordinate

NameDescription
setFlipCoordinate(value)Flip the coordinate while saving the scene, default value is true

Result:


getVertexElement

NameDescription
getVertexElement()The element name for the vertex data, default value is “vertex”

Result:


setVertexElement

NameDescription
setVertexElement(value)The element name for the vertex data, default value is “vertex”

Result:


getPositionComponents

NameDescription
getPositionComponents()The component names for position data, default value is (“x”, “y”, “z”)

Result:


getNormalComponents

NameDescription
getNormalComponents()The component names for normal data, default value is (“nx”, “ny”, “nz”)

Result:


getTextureCoordinateComponents

NameDescription
getTextureCoordinateComponents()The component names for texture coordinate data, default value is (“u”, “v”)

Result:


getColorComponents

NameDescription
getColorComponents()The component names for vertex color, default value is (“red”, “green”, “blue”)

Result:


getFaceElement

NameDescription
getFaceElement()The element name for the face data, default value is “face”

Result:


setFaceElement

NameDescription
setFaceElement(value)The element name for the face data, default value is “face”

Result:


getFaceProperty

NameDescription
getFaceProperty()The property name for the face data, default value is “vertex_index”

Result:


setFaceProperty

NameDescription
setFaceProperty(value)The property name for the face data, default value is “vertex_index”

Result:


getExportTextures

NameDescription
getExportTextures()Try to copy textures used in scene to output directory.

Result:


setExportTextures

NameDescription
setExportTextures(value)Try to copy textures used in scene to output directory.

Result:


getFileFormat

NameDescription
getFileFormat()Gets the file format that specified in current Save/Load option.

Result:


getEncoding

NameDescription
getEncoding()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.

Result:


getFileSystem

NameDescription
getFileSystem()Allow user to handle how to manage the external dependencies during load/save.

Result:


setFileSystem

NameDescription
setFileSystem(value)Allow user to handle how to manage the external dependencies during load/save.

Result:


getLookupPaths

NameDescription
getLookupPaths()Some files like OBJ depends on external file, the lookup paths will allows Aspose.3D to look for external file to load.

Result:


getFileName

NameDescription
getFileName()The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material.

Result:


setFileName

NameDescription
setFileName(value)The file name of the exporting/importing scene. This is optional, but useful when serialize external assets like OBJ’s material.

Result: