RenderTarget3D.html 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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"><a href="RenderTarget.html#~Options">RenderTarget~Options</a></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">
  30. <strong>width</strong>
  31. </td>
  32. <td class="description last">
  33. <p>The width of the render target.</p>
  34. <p>Default is <code>1</code>.</p>
  35. </td>
  36. </tr>
  37. <tr>
  38. <td class="name">
  39. <strong>height</strong>
  40. </td>
  41. <td class="description last">
  42. <p>The height of the render target.</p>
  43. <p>Default is <code>1</code>.</p>
  44. </td>
  45. </tr>
  46. <tr>
  47. <td class="name">
  48. <strong>depth</strong>
  49. </td>
  50. <td class="description last">
  51. <p>The height of the render target.</p>
  52. <p>Default is <code>1</code>.</p>
  53. </td>
  54. </tr>
  55. <tr>
  56. <td class="name">
  57. <strong>options</strong>
  58. </td>
  59. <td class="description last">
  60. <p>The configuration object.</p>
  61. </td>
  62. </tr>
  63. </tbody>
  64. </table>
  65. </div>
  66. </div>
  67. <h2 class="subsection-title">Properties</h2>
  68. <div class="member">
  69. <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>
  70. <div class="description">
  71. <p>This flag can be used for type testing.</p>
  72. <p>Default is <code>true</code>.</p>
  73. </div>
  74. </div>
  75. <div class="member">
  76. <h3 class="name" id="texture" translate="no">.<a href="#texture">texture</a><span class="type-signature"> : <a href="Data3DTexture.html">Data3DTexture</a></span> </h3>
  77. <div class="description">
  78. <p>Overwritten with a different texture type.</p>
  79. </div>
  80. <dl class="details">
  81. <dt class="tag-overrides"><strong>Overrides:</strong> <a href="RenderTarget.html#texture">RenderTarget#texture</a></dt>
  82. </dl>
  83. </div>
  84. <h2 class="subsection-title">Source</h2>
  85. <p>
  86. <a href="https://github.com/mrdoob/three.js/blob/master/src/core/RenderTarget3D.js" translate="no" target="_blank" rel="noopener">src/core/RenderTarget3D.js</a>
  87. </p>
  88. </article>
  89. </section>
  90. <script src="../scripts/linenumber.js"></script>
  91. <script src="../scripts/page.js"></script>
  92. </body>
  93. </html>
粤ICP备19079148号