EnvironmentNode.html 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>EnvironmentNode - 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">EnvironmentNode</h1>
  14. <section>
  15. <header>
  16. <div class="class-description"><p>Represents a physical model for Image-based lighting (IBL). The environment
  17. is defined via environment maps in the equirectangular, cube map or cubeUV (PMREM) format.
  18. <code>EnvironmentNode</code> is intended for PBR materials like <a href="MeshStandardNodeMaterial.html">MeshStandardNodeMaterial</a>.</p></div>
  19. </header>
  20. <article>
  21. <div class="container-overview">
  22. <h2>Constructor</h2>
  23. <h3 class="name name-method" id="EnvironmentNode" translate="no">new <a href="#EnvironmentNode">EnvironmentNode</a><span class="signature">( envNode : <span class="param-type"><a href="Node.html">Node</a></span> )</span> </h3>
  24. <div class="method">
  25. <div class="description">
  26. <p>Constructs a new environment node.</p>
  27. </div>
  28. <table class="params">
  29. <tbody>
  30. <tr>
  31. <td class="name">
  32. <strong>envNode</strong>
  33. </td>
  34. <td class="description last">
  35. <p>A node representing the environment.</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="envNode" translate="no">.<a href="#envNode">envNode</a><span class="type-signature"> : <a href="Node.html">Node</a></span> </h3>
  46. <div class="description">
  47. <p>A node representing the environment.</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/EnvironmentNode.js" translate="no" target="_blank" rel="noopener">src/nodes/lighting/EnvironmentNode.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号