RenderTarget3D.html 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>RenderTarget3D - 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="RenderTarget.html">RenderTarget</a> → </p>
  13. <h1 translate="no">RenderTarget3D</h1>
  14. <section>
  15. <header>
  16. <div class="class-description"><p>Represents a 3D render target.</p></div>
  17. </header>
  18. <article>
  19. <div class="container-overview">
  20. <h2>Constructor</h2>
  21. <h3 class="name name-method" id="RenderTarget3D" translate="no">new <a href="#RenderTarget3D">RenderTarget3D</a><span class="signature">( width : <span class="param-type">number</span>, height : <span class="param-type">number</span>, depth : <span class="param-type">number</span>, options : <span class="param-type">RenderTarget~Options</span> )</span> </h3>
  22. <div class="method">
  23. <div class="description">
  24. <p>Constructs a new 3D render target.</p>
  25. </div>
  26. <table class="params">
  27. <tbody>
  28. <tr>
  29. <td class="name"><code>width</code></td>
  30. <td class="description last"><p>The width of the render target.<br/>Default is <code>1</code>.</p></td>
  31. </tr>
  32. <tr>
  33. <td class="name"><code>height</code></td>
  34. <td class="description last"><p>The height of the render target.<br/>Default is <code>1</code>.</p></td>
  35. </tr>
  36. <tr>
  37. <td class="name"><code>depth</code></td>
  38. <td class="description last"><p>The height of the render target.<br/>Default is <code>1</code>.</p></td>
  39. </tr>
  40. <tr>
  41. <td class="name"><code>options</code></td>
  42. <td class="description last"><p>The configuration object.</p></td>
  43. </tr>
  44. </tbody>
  45. </table>
  46. </div>
  47. </div>
  48. <h2 class="subsection-title">Properties</h2>
  49. <div class="member">
  50. <h3 class="name" id="isRenderTarget3D" translate="no">.<a href="#isRenderTarget3D">isRenderTarget3D</a><span class="type-signature"> : boolean</span> <span class="type-signature">(readonly) </span></h3>
  51. <div class="description">
  52. <p>This flag can be used for type testing.<br/>Default is <code>true</code>.</p>
  53. </div>
  54. </div>
  55. <div class="member">
  56. <h3 class="name" id="texture" translate="no">.<a href="#texture">texture</a><span class="type-signature"> : <a href="Data3DTexture.html">Data3DTexture</a></span> </h3>
  57. <div class="description">
  58. <p>Overwritten with a different texture type.</p>
  59. </div>
  60. <dl class="details">
  61. <dt class="tag-overrides"><strong>Overrides:</strong> <a href="RenderTarget.html#texture">RenderTarget#texture</a></dt>
  62. </dl>
  63. </div>
  64. <h2 class="subsection-title">Source</h2>
  65. <p>
  66. <a href="https://github.com/mrdoob/three.js/blob/master/src/core/RenderTarget3D.js" target="_blank" rel="noopener" translate="no">src/core/RenderTarget3D.js</a>
  67. </p>
  68. </article>
  69. </section>
  70. <script src="../scripts/linenumber.js"></script>
  71. <script src="../scripts/page.js"></script>
  72. </body>
  73. </html>
粤ICP备19079148号