AONode.html 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>AONode - Three.js Docs</title>
  6. <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
  7. <script src="../scripts/highlight.min.js"></script>
  8. <link type="text/css" rel="stylesheet" href="../styles/highlight-three.css">
  9. <link type="text/css" rel="stylesheet" href="../styles/page.css">
  10. </head>
  11. <body>
  12. <p class="inheritance" translate="no"><a href="EventDispatcher.html">EventDispatcher</a> → <a href="Node.html">Node</a> → <a href="LightingNode.html">LightingNode</a> → </p>
  13. <h1 translate="no">AONode</h1>
  14. <section>
  15. <header>
  16. <div class="class-description"><p>A generic class that can be used by nodes which contribute
  17. ambient occlusion to the scene. E.g. an ambient occlusion map
  18. node can be used as input for this module. Used in <a href="NodeMaterial.html">NodeMaterial</a>.</p></div>
  19. </header>
  20. <article>
  21. <div class="container-overview">
  22. <h2>Constructor</h2>
  23. <h3 class="name name-method" id="AONode" translate="no">new <a href="#AONode">AONode</a><span class="signature">( aoNode : <span class="param-type"><a href="Node.html">Node</a>.&lt;float></span> )</span> </h3>
  24. <div class="method">
  25. <div class="description">
  26. <p>Constructs a new AO node.</p>
  27. </div>
  28. <table class="params">
  29. <tbody>
  30. <tr>
  31. <td class="name">
  32. <strong>aoNode</strong>
  33. </td>
  34. <td class="description last">
  35. <p>The ambient occlusion node.</p>
  36. <p>Default is <code>null</code>.</p>
  37. </td>
  38. </tr>
  39. </tbody>
  40. </table>
  41. </div>
  42. </div>
  43. <h2 class="subsection-title">Properties</h2>
  44. <div class="member">
  45. <h3 class="name" id="aoNode" translate="no">.<a href="#aoNode">aoNode</a><span class="type-signature"> : <a href="Node.html">Node</a>.&lt;float></span> </h3>
  46. <div class="description">
  47. <p>The ambient occlusion node.</p>
  48. <p>Default is <code>null</code>.</p>
  49. </div>
  50. </div>
  51. <h2 class="subsection-title">Source</h2>
  52. <p>
  53. <a href="https://github.com/mrdoob/three.js/blob/master/src/nodes/lighting/AONode.js" translate="no" target="_blank" rel="noopener">src/nodes/lighting/AONode.js</a>
  54. </p>
  55. </article>
  56. </section>
  57. <script src="../scripts/linenumber.js"></script>
  58. <script src="../scripts/page.js"></script>
  59. </body>
  60. </html>
粤ICP备19079148号