IsolateNode.html 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>IsolateNode - 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">IsolateNode</h1>
  14. <section>
  15. <header>
  16. <div class="class-description"><p>This node can be used as a cache management component for another node.
  17. Caching is in general used by default in <a href="NodeBuilder.html">NodeBuilder</a> but this node
  18. allows the usage of a shared parent cache during the build process.</p></div>
  19. </header>
  20. <article>
  21. <div class="container-overview">
  22. <h2>Constructor</h2>
  23. <h3 class="name name-method" id="IsolateNode" translate="no">new <a href="#IsolateNode">IsolateNode</a><span class="signature">( node : <span class="param-type"><a href="Node.html">Node</a></span>, parent : <span class="param-type">boolean</span> )</span> </h3>
  24. <div class="method">
  25. <div class="description">
  26. <p>Constructs a new cache node.</p>
  27. </div>
  28. <table class="params">
  29. <tbody>
  30. <tr>
  31. <td class="name">
  32. <strong>node</strong>
  33. </td>
  34. <td class="description last">
  35. <p>The node that should be cached.</p>
  36. </td>
  37. </tr>
  38. <tr>
  39. <td class="name">
  40. <strong>parent</strong>
  41. </td>
  42. <td class="description last">
  43. <p>Whether this node refers to a shared parent cache or not.</p>
  44. <p>Default is <code>true</code>.</p>
  45. </td>
  46. </tr>
  47. </tbody>
  48. </table>
  49. </div>
  50. </div>
  51. <h2 class="subsection-title">Properties</h2>
  52. <div class="member">
  53. <h3 class="name" id="isIsolateNode" translate="no">.<a href="#isIsolateNode">isIsolateNode</a><span class="type-signature"> : boolean</span> <span class="type-signature">(readonly) </span></h3>
  54. <div class="description">
  55. <p>This flag can be used for type testing.</p>
  56. <p>Default is <code>true</code>.</p>
  57. </div>
  58. </div>
  59. <div class="member">
  60. <h3 class="name" id="node" translate="no">.<a href="#node">node</a><span class="type-signature"> : <a href="Node.html">Node</a></span> </h3>
  61. <div class="description">
  62. <p>The node that should be cached.</p>
  63. </div>
  64. </div>
  65. <div class="member">
  66. <h3 class="name" id="parent" translate="no">.<a href="#parent">parent</a><span class="type-signature"> : boolean</span> </h3>
  67. <div class="description">
  68. <p>Whether this node refers to a shared parent cache or not.</p>
  69. <p>Default is <code>true</code>.</p>
  70. </div>
  71. </div>
  72. <h2 class="subsection-title">Source</h2>
  73. <p>
  74. <a href="https://github.com/mrdoob/three.js/blob/master/src/nodes/core/IsolateNode.js" translate="no" target="_blank" rel="noopener">src/nodes/core/IsolateNode.js</a>
  75. </p>
  76. </article>
  77. </section>
  78. <script src="../scripts/linenumber.js"></script>
  79. <script src="../scripts/page.js"></script>
  80. </body>
  81. </html>
粤ICP备19079148号