CompressedCubeTexture.html 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>CompressedCubeTexture - 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="Texture.html">Texture</a> → <a href="CompressedTexture.html">CompressedTexture</a> → </p>
  13. <h1 translate="no">CompressedCubeTexture</h1>
  14. <section>
  15. <header>
  16. <div class="class-description"><p>Creates a cube texture based on data in compressed form.</p>
  17. <p>These texture are usually loaded with <a href="CompressedTextureLoader.html">CompressedTextureLoader</a>.</p></div>
  18. </header>
  19. <article>
  20. <div class="container-overview">
  21. <h2>Constructor</h2>
  22. <h3 class="name name-method" id="CompressedCubeTexture" translate="no">new <a href="#CompressedCubeTexture">CompressedCubeTexture</a><span class="signature">( images : <span class="param-type">Array.&lt;<a href="CompressedTexture.html">CompressedTexture</a>></span>, format : <span class="param-type">number</span>, type : <span class="param-type">number</span> )</span> </h3>
  23. <div class="method">
  24. <div class="description">
  25. <p>Constructs a new compressed texture.</p>
  26. </div>
  27. <table class="params">
  28. <tbody>
  29. <tr>
  30. <td class="name">
  31. <strong>images</strong>
  32. </td>
  33. <td class="description last">
  34. <p>An array of compressed textures.</p>
  35. </td>
  36. </tr>
  37. <tr>
  38. <td class="name">
  39. <strong>format</strong>
  40. </td>
  41. <td class="description last">
  42. <p>The texture format.</p>
  43. <p>Default is <code>RGBAFormat</code>.</p>
  44. </td>
  45. </tr>
  46. <tr>
  47. <td class="name">
  48. <strong>type</strong>
  49. </td>
  50. <td class="description last">
  51. <p>The texture type.</p>
  52. <p>Default is <code>UnsignedByteType</code>.</p>
  53. </td>
  54. </tr>
  55. </tbody>
  56. </table>
  57. </div>
  58. </div>
  59. <h2 class="subsection-title">Properties</h2>
  60. <div class="member">
  61. <h3 class="name" id="isCompressedCubeTexture" translate="no">.<a href="#isCompressedCubeTexture">isCompressedCubeTexture</a><span class="type-signature"> : boolean</span> <span class="type-signature">(readonly) </span></h3>
  62. <div class="description">
  63. <p>This flag can be used for type testing.</p>
  64. <p>Default is <code>true</code>.</p>
  65. </div>
  66. </div>
  67. <div class="member">
  68. <h3 class="name" id="isCubeTexture" translate="no">.<a href="#isCubeTexture">isCubeTexture</a><span class="type-signature"> : boolean</span> <span class="type-signature">(readonly) </span></h3>
  69. <div class="description">
  70. <p>This flag can be used for type testing.</p>
  71. <p>Default is <code>true</code>.</p>
  72. </div>
  73. </div>
  74. <h2 class="subsection-title">Source</h2>
  75. <p>
  76. <a href="https://github.com/mrdoob/three.js/blob/master/src/textures/CompressedCubeTexture.js" translate="no" target="_blank" rel="noopener">src/textures/CompressedCubeTexture.js</a>
  77. </p>
  78. </article>
  79. </section>
  80. <script src="../scripts/linenumber.js"></script>
  81. <script src="../scripts/page.js"></script>
  82. </body>
  83. </html>
粤ICP备19079148号