PlyFormat
Contents
[
Hide
]PlyFormat class
The PLY format. @hideconstructor
Methods
getVersion
| Name | Description |
|---|---|
| getVersion() | Gets file format version |
Result:
getExtension
| Name | Description |
|---|---|
| getExtension() | Gets the extension name of this type. |
Result:
getExtensions
| Name | Description |
|---|---|
| getExtensions() | Gets the extension names of this type. |
Result:
getContentType
| Name | Description |
|---|---|
| getContentType() | Gets file format content type The value of the property is FileContentType integer constant. |
Result:
getFileFormatType
| Name | Description |
|---|---|
| getFileFormatType() | Gets file format type |
Result:
encode
| Name | Description |
|---|---|
| encode(entity, fileName) | Encode the entity and save the result into an external file. |
Parameters:
| Name | Type | Description |
|---|---|---|
| entity | Entity | The entity to encode |
| fileName | String | The file to write to |
Result:
encode
| Name | Description |
|---|---|
| encode(entity, fileName, opt) | Encode the entity and save the result into an external file. |
Parameters:
| Name | Type | Description |
|---|---|---|
| entity | Entity | The entity to encode |
| fileName | String | The file to write to |
| opt | PlySaveOptions | Save options |
Result:
decode
| Name | Description |
|---|---|
| decode(fileName) | Decode a point cloud or mesh from the specified stream. |
Parameters:
| Name | Type | Description |
|---|---|---|
| fileName | String | The input stream |
Result: Geometry
decode
| Name | Description |
|---|---|
| decode(fileName, opt) | Decode a point cloud or mesh from the specified stream. |
Parameters:
| Name | Type | Description |
|---|---|---|
| fileName | String | The input stream |
| opt | PlyLoadOptions | The load option of PLY format |
Result: Geometry
createLoadOptions
| Name | Description |
|---|---|
| createLoadOptions() | Create a default load options for this file format |
Result: LoadOptions
createSaveOptions
| Name | Description |
|---|---|
| createSaveOptions() | Create a default save options for this file format |
Result: SaveOptions
toString
| Name | Description |
|---|---|
| toString() | Formats to string |
Result: String