SubBuildNode.html 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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">Node</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"><code>node</code></td>
  27. <td class="description last"><p>The node to be built in the sub-build.</p></td>
  28. </tr>
  29. <tr>
  30. <td class="name"><code>name</code></td>
  31. <td class="description last"><p>The name of the sub-build.</p></td>
  32. </tr>
  33. <tr>
  34. <td class="name"><code>nodeType</code></td>
  35. <td class="description last"><p>The type of the node, if known.<br/>Default is <code>null</code>.</p></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="isSubBuildNode" translate="no">.<a href="#isSubBuildNode">isSubBuildNode</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.<br/>Default is <code>true</code>.</p>
  46. </div>
  47. </div>
  48. <div class="member">
  49. <h3 class="name" id="name" translate="no">.<a href="#name">name</a><span class="type-signature"> : string</span> </h3>
  50. <div class="description">
  51. <p>The name of the sub-build.</p>
  52. </div>
  53. <dl class="details">
  54. <dt class="tag-overrides"><strong>Overrides:</strong> <a href="Node.html#name">Node#name</a></dt>
  55. </dl>
  56. </div>
  57. <div class="member">
  58. <h3 class="name" id="node" translate="no">.<a href="#node">node</a><span class="type-signature"> : <a href="Node.html">Node</a></span> </h3>
  59. <div class="description">
  60. <p>The node to be built in the sub-build.</p>
  61. </div>
  62. </div>
  63. <h2 class="subsection-title">Source</h2>
  64. <p>
  65. <a href="https://github.com/mrdoob/three.js/blob/master/src/nodes/core/SubBuildNode.js" target="_blank" rel="noopener" translate="no">src/nodes/core/SubBuildNode.js</a>
  66. </p>
  67. </article>
  68. </section>
  69. <script src="../scripts/linenumber.js"></script>
  70. <script src="../scripts/page.js"></script>
  71. </body>
  72. </html>
粤ICP备19079148号