threepipe
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

PLYLoadPlugin.md 659B

12345678910111213141516171819202122232425
  1. ---
  2. prev:
  3. text: 'Rhino3dmLoadPlugin'
  4. link: './Rhino3dmLoadPlugin'
  5. next:
  6. text: 'USDZLoadPlugin'
  7. link: './USDZLoadPlugin'
  8. ---
  9. # PLYLoadPlugin
  10. [Example](https://threepipe.org/examples/#ply-load/) —
  11. [Source Code](https://github.com/repalash/threepipe/blob/master/src/plugins/import/PLYLoadPlugin.ts) —
  12. [API Reference](https://threepipe.org/docs/classes/PLYLoadPlugin.html)
  13. Adds support for loading .ply ([Polygon file format](https://en.wikipedia.org/wiki/PLY_(file_format))) files.
  14. ```typescript
  15. import {PLYLoadPlugin} from 'threepipe'
  16. viewer.addPluginSync(new PLYLoadPlugin())
  17. const mesh = await viewer.load('file.ply')
  18. ```