MeshNormalMaterial.html 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <base href="../../" />
  6. <script src="list.js"></script>
  7. <script src="page.js"></script>
  8. <link type="text/css" rel="stylesheet" href="page.css" />
  9. </head>
  10. <body>
  11. [page:Material] &rarr;
  12. <h1>[name]</h1>
  13. <div class="desc">A material that maps the normal vectors to RGB colors.</div>
  14. <iframe src='scenes/material-browser.html#MeshNormalMaterial'></iframe>
  15. <h2>Constructor</h2>
  16. <h3>[name]( [page:Object parameters] )</h3>
  17. <div>
  18. parameters is an object with one or more properties defining the material's appearance.
  19. </div>
  20. <div>
  21. wireframe -- Render geometry as wireframe. Default is false (i.e. render as smooth shaded).<br/>
  22. wireframeLinewidth -- Controls wireframe thickness. Default is 1.<br/>
  23. morphTargets -- Define whether the material uses morphTargets. Default is false.<br/>
  24. </div>
  25. <h2>Properties</h2>
  26. <div>See the base [page:Material] class for common properties.</div>
  27. <h3>[property:boolean wireframe]</h3>
  28. <div>
  29. Render geometry as wireframe. Default is false (i.e. render as smooth shaded).
  30. </div>
  31. <h3>[property:number wireframeLinewidth]</h3>
  32. <div>
  33. Controls wireframe thickness. Default is 1.<br/><br/>
  34. Due to limitations in the ANGLE layer, on Windows platforms linewidth will always be 1 regardless of the set value.
  35. </div>
  36. <h3>[property:boolean morphTargets]</h3>
  37. <div>Define whether the material uses morphTargets. Default is false.</div>
  38. <h2>Methods</h2>
  39. <h2>Source</h2>
  40. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  41. </body>
  42. </html>