Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Macoron authored Jun 18, 2022
1 parent 959760e commit 2184ce5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ You can install this package using **Package Manager**. Add it by this git URL:
https://github.com/Macoron/Unity-Ply-Export.git
```

**Alternatively** just clone or download zip ot this repo and place it somewhere in your Assets folder.
Alternatively just clone this repo and place files somewhere in your Assets folder.

## Examples
## Usages
Export mesh model into .ply file:
```csharp
var meshFilter = GetComponent<MeshFilter>();
Expand All @@ -29,6 +29,8 @@ var ply = PlyExport.ToPlyPointcloud(points.ToArray());
File.WriteAllText("pointcloud.ply", ply);
```

You can also export selected meshes in Editor by clicking menu `Assets => Export selected to .ply`.

## Limitations
Keep in mind that not all data is supported for export:
- [x] Colored pointclouds
Expand Down

0 comments on commit 2184ce5

Please sign in to comment.