1
0

AmbientLightNode.html 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>AmbientLightNode - 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> → <a href="AnalyticLightNode.html">AnalyticLightNode</a> → </p>
  13. <h1 translate="no">AmbientLightNode</h1>
  14. <section>
  15. <header>
  16. <div class="class-description"><p>Module for representing ambient lights as nodes.</p></div>
  17. </header>
  18. <article>
  19. <div class="container-overview">
  20. <h2>Constructor</h2>
  21. <h3 class="name name-method" id="AmbientLightNode" translate="no">new <a href="#AmbientLightNode">AmbientLightNode</a><span class="signature">( light : <span class="param-type"><a href="AmbientLight.html">AmbientLight</a></span> )</span> </h3>
  22. <div class="method">
  23. <div class="description">
  24. <p>Constructs a new ambient light node.</p>
  25. </div>
  26. <table class="params">
  27. <tbody>
  28. <tr>
  29. <td class="name">
  30. <strong>light</strong>
  31. </td>
  32. <td class="description last">
  33. <p>The ambient light source.</p>
  34. <p>Default is <code>null</code>.</p>
  35. </td>
  36. </tr>
  37. </tbody>
  38. </table>
  39. </div>
  40. </div>
  41. <h2 class="subsection-title">Source</h2>
  42. <p>
  43. <a href="https://github.com/mrdoob/three.js/blob/master/src/nodes/lighting/AmbientLightNode.js" translate="no" target="_blank" rel="noopener">src/nodes/lighting/AmbientLightNode.js</a>
  44. </p>
  45. </article>
  46. </section>
  47. <script src="../scripts/linenumber.js"></script>
  48. <script src="../scripts/page.js"></script>
  49. </body>
  50. </html>
粤ICP备19079148号