OutputStructNode.html 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>OutputStructNode - 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> → </p>
  13. <h1 translate="no">OutputStructNode</h1>
  14. <section>
  15. <header>
  16. <div class="class-description"><p>This node can be used to define multiple outputs in a shader programs.</p></div>
  17. </header>
  18. <article>
  19. <div class="container-overview">
  20. <h2>Constructor</h2>
  21. <h3 class="name name-method" id="OutputStructNode" translate="no">new <a href="#OutputStructNode">OutputStructNode</a><span class="signature">( &hellip;members : <span class="param-type"><a href="Node.html">Node</a></span> )</span> </h3>
  22. <div class="method">
  23. <div class="description">
  24. <p>Constructs a new output struct node. The constructor can be invoked with an
  25. arbitrary number of nodes representing the members.</p>
  26. </div>
  27. <table class="params">
  28. <tbody>
  29. <tr>
  30. <td class="name">
  31. <strong>members</strong>
  32. </td>
  33. <td class="description last">
  34. <p>A parameter list of nodes.</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="isOutputStructNode" translate="no">.<a href="#isOutputStructNode">isOutputStructNode</a><span class="type-signature"> : boolean</span> <span class="type-signature">(readonly) </span></h3>
  44. <div class="description">
  45. <p>This flag can be used for type testing.</p>
  46. <p>Default is <code>true</code>.</p>
  47. </div>
  48. </div>
  49. <div class="member">
  50. <h3 class="name" id="members" translate="no">.<a href="#members">members</a><span class="type-signature"> : Array.&lt;<a href="Node.html">Node</a>></span> </h3>
  51. <div class="description">
  52. <p>An array of nodes which defines the output.</p>
  53. </div>
  54. </div>
  55. <h2 class="subsection-title">Source</h2>
  56. <p>
  57. <a href="https://github.com/mrdoob/three.js/blob/master/src/nodes/core/OutputStructNode.js" translate="no" target="_blank" rel="noopener">src/nodes/core/OutputStructNode.js</a>
  58. </p>
  59. </article>
  60. </section>
  61. <script src="../scripts/linenumber.js"></script>
  62. <script src="../scripts/page.js"></script>
  63. </body>
  64. </html>
粤ICP备19079148号