SubBuildNode.html 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>SubBuildNode - 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">SubBuildNode</h1>
  14. <section>
  15. <header>
  16. <div class="class-description"><p>This node is used to build a sub-build in the node system.</p></div>
  17. </header>
  18. <article>
  19. <div class="container-overview">
  20. <h2>Constructor</h2>
  21. <h3 class="name name-method" id="SubBuildNode" translate="no">new <a href="#SubBuildNode">SubBuildNode</a><span class="signature">( node : <span class="param-type"><a href="Node.html">Node</a></span>, name : <span class="param-type">string</span>, nodeType : <span class="param-type">string</span> )</span> </h3>
  22. <div class="method">
  23. <table class="params">
  24. <tbody>
  25. <tr>
  26. <td class="name">
  27. <strong>node</strong>
  28. </td>
  29. <td class="description last">
  30. <p>The node to be built in the sub-build.</p>
  31. </td>
  32. </tr>
  33. <tr>
  34. <td class="name">
  35. <strong>name</strong>
  36. </td>
  37. <td class="description last">
  38. <p>The name of the sub-build.</p>
  39. </td>
  40. </tr>
  41. <tr>
  42. <td class="name">
  43. <strong>nodeType</strong>
  44. </td>
  45. <td class="description last">
  46. <p>The type of the node, if known.</p>
  47. <p>Default is <code>null</code>.</p>
  48. </td>
  49. </tr>
  50. </tbody>
  51. </table>
  52. </div>
  53. </div>
  54. <h2 class="subsection-title">Properties</h2>
  55. <div class="member">
  56. <h3 class="name" id="isSubBuildNode" translate="no">.<a href="#isSubBuildNode">isSubBuildNode</a><span class="type-signature"> : boolean</span> <span class="type-signature">(readonly) </span></h3>
  57. <div class="description">
  58. <p>This flag can be used for type testing.</p>
  59. <p>Default is <code>true</code>.</p>
  60. </div>
  61. </div>
  62. <div class="member">
  63. <h3 class="name" id="name" translate="no">.<a href="#name">name</a><span class="type-signature"> : string</span> </h3>
  64. <div class="description">
  65. <p>The name of the sub-build.</p>
  66. </div>
  67. <dl class="details">
  68. <dt class="tag-overrides"><strong>Overrides:</strong> <a href="Node.html#name">Node#name</a></dt>
  69. </dl>
  70. </div>
  71. <div class="member">
  72. <h3 class="name" id="node" translate="no">.<a href="#node">node</a><span class="type-signature"> : <a href="Node.html">Node</a></span> </h3>
  73. <div class="description">
  74. <p>The node to be built in the sub-build.</p>
  75. </div>
  76. </div>
  77. <h2 class="subsection-title">Source</h2>
  78. <p>
  79. <a href="https://github.com/mrdoob/three.js/blob/master/src/nodes/core/SubBuildNode.js" translate="no" target="_blank" rel="noopener">src/nodes/core/SubBuildNode.js</a>
  80. </p>
  81. </article>
  82. </section>
  83. <script src="../scripts/linenumber.js"></script>
  84. <script src="../scripts/page.js"></script>
  85. </body>
  86. </html>
粤ICP备19079148号