IsolateNode.html 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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">Node</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"><code>node</code></td>
  32. <td class="description last"><p>The node that should be cached.</p></td>
  33. </tr>
  34. <tr>
  35. <td class="name"><code>parent</code></td>
  36. <td class="description last"><p>Whether this node refers to a shared parent cache or not.<br/>Default is <code>true</code>.</p></td>
  37. </tr>
  38. </tbody>
  39. </table>
  40. </div>
  41. </div>
  42. <h2 class="subsection-title">Properties</h2>
  43. <div class="member">
  44. <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>
  45. <div class="description">
  46. <p>This flag can be used for type testing.<br/>Default is <code>true</code>.</p>
  47. </div>
  48. </div>
  49. <div class="member">
  50. <h3 class="name" id="node" translate="no">.<a href="#node">node</a><span class="type-signature"> : <a href="Node.html">Node</a></span> </h3>
  51. <div class="description">
  52. <p>The node that should be cached.</p>
  53. </div>
  54. </div>
  55. <div class="member">
  56. <h3 class="name" id="parent" translate="no">.<a href="#parent">parent</a><span class="type-signature"> : boolean</span> </h3>
  57. <div class="description">
  58. <p>Whether this node refers to a shared parent cache or not.<br/>Default is <code>true</code>.</p>
  59. </div>
  60. </div>
  61. <h2 class="subsection-title">Source</h2>
  62. <p>
  63. <a href="https://github.com/mrdoob/three.js/blob/master/src/nodes/core/IsolateNode.js" target="_blank" rel="noopener" translate="no">src/nodes/core/IsolateNode.js</a>
  64. </p>
  65. </article>
  66. </section>
  67. <script src="../scripts/linenumber.js"></script>
  68. <script src="../scripts/page.js"></script>
  69. </body>
  70. </html>
粤ICP备19079148号