WireframeGeometry.html 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <!DOCTYPE html>
  2. <html lang="it">
  3. <head>
  4. <meta charset="utf-8" />
  5. <base href="../../../" />
  6. <script src="page.js"></script>
  7. <link type="text/css" rel="stylesheet" href="page.css" />
  8. </head>
  9. <body>
  10. [page:BufferGeometry] &rarr;
  11. <h1>[name]</h1>
  12. <p class="desc">Questa classe può essere utilizzata come oggetto di supporto per la visualizzazione di una [page:BufferGeometry geometria] come wireframe.</p>
  13. <h2>Codice di Esempio</h2>
  14. <code>
  15. const geometry = new THREE.SphereGeometry( 100, 100, 100 );
  16. const wireframe = new THREE.WireframeGeometry( geometry );
  17. const line = new THREE.LineSegments( wireframe );
  18. line.material.depthTest = false;
  19. line.material.opacity = 0.25;
  20. line.material.transparent = true;
  21. scene.add( line );
  22. </code>
  23. <h2>Esempi</h2>
  24. <p>
  25. [example:webgl_helpers helpers]
  26. </p>
  27. <h2>Costruttore</h2>
  28. <h3>[name]( [param:BufferGeometry geometry] )</h3>
  29. <p>
  30. geometry — qualsiasi oggetto geometria.
  31. </p>
  32. <h2>Proprietà</h2>
  33. <p>Vedi la classe base [page:BufferGeometry] per le proprietà comuni.</p>
  34. <h2>Metodi</h2>
  35. <p>Vedi la classe base [page:BufferGeometry] per i metodi comuni.</p>
  36. <h2>Source</h2>
  37. <p>
  38. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  39. </p>
  40. </body>
  41. </html>