CubeMapNode.html 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>CubeMapNode - 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="TempNode.html">TempNode</a> → </p>
  13. <h1 translate="no">CubeMapNode</h1>
  14. <section>
  15. <header>
  16. <div class="class-description"><p>This node can be used to automatically convert environment maps in the
  17. equirectangular format into the cube map format.</p></div>
  18. </header>
  19. <article>
  20. <div class="container-overview">
  21. <h2>Constructor</h2>
  22. <h3 class="name name-method" id="CubeMapNode" translate="no">new <a href="#CubeMapNode">CubeMapNode</a><span class="signature">( envNode : <span class="param-type"><a href="Node.html">Node</a></span> )</span> </h3>
  23. <div class="method">
  24. <div class="description">
  25. <p>Constructs a new cube map node.</p>
  26. </div>
  27. <table class="params">
  28. <tbody>
  29. <tr>
  30. <td class="name">
  31. <strong>envNode</strong>
  32. </td>
  33. <td class="description last">
  34. <p>The node representing the environment map.</p>
  35. </td>
  36. </tr>
  37. </tbody>
  38. </table>
  39. </div>
  40. </div>
  41. <h2 class="subsection-title">Properties</h2>
  42. <div class="member">
  43. <h3 class="name" id="envNode" translate="no">.<a href="#envNode">envNode</a><span class="type-signature"> : <a href="Node.html">Node</a></span> </h3>
  44. <div class="description">
  45. <p>The node representing the environment map.</p>
  46. </div>
  47. </div>
  48. <div class="member">
  49. <h3 class="name" id="updateBeforeType" translate="no">.<a href="#updateBeforeType">updateBeforeType</a><span class="type-signature"> : string</span> </h3>
  50. <div class="description">
  51. <p>The <code>updateBeforeType</code> is set to <code>NodeUpdateType.RENDER</code> since the node updates
  52. the texture once per render in its <a href="CubeMapNode.html#updateBefore">CubeMapNode#updateBefore</a> method.</p>
  53. <p>Default is <code>'render'</code>.</p>
  54. </div>
  55. <dl class="details">
  56. <dt class="tag-overrides"><strong>Overrides:</strong> <a href="TempNode.html#updateBeforeType">TempNode#updateBeforeType</a></dt>
  57. </dl>
  58. </div>
  59. <h2 class="subsection-title">Source</h2>
  60. <p>
  61. <a href="https://github.com/mrdoob/three.js/blob/master/src/nodes/utils/CubeMapNode.js" translate="no" target="_blank" rel="noopener">src/nodes/utils/CubeMapNode.js</a>
  62. </p>
  63. </article>
  64. </section>
  65. <script src="../scripts/linenumber.js"></script>
  66. <script src="../scripts/page.js"></script>
  67. </body>
  68. </html>
粤ICP备19079148号