CompressedCubeTexture.html 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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;CompressedTexture></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"><code>images</code></td>
  31. <td class="description last"><p>An array of compressed textures.</p></td>
  32. </tr>
  33. <tr>
  34. <td class="name"><code>format</code></td>
  35. <td class="description last"><p>The texture format.<br/>Default is <code>RGBAFormat</code>.</p></td>
  36. </tr>
  37. <tr>
  38. <td class="name"><code>type</code></td>
  39. <td class="description last"><p>The texture type.<br/>Default is <code>UnsignedByteType</code>.</p></td>
  40. </tr>
  41. </tbody>
  42. </table>
  43. </div>
  44. </div>
  45. <h2 class="subsection-title">Properties</h2>
  46. <div class="member">
  47. <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>
  48. <div class="description">
  49. <p>This flag can be used for type testing.<br/>Default is <code>true</code>.</p>
  50. </div>
  51. </div>
  52. <div class="member">
  53. <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>
  54. <div class="description">
  55. <p>This flag can be used for type testing.<br/>Default is <code>true</code>.</p>
  56. </div>
  57. </div>
  58. <h2 class="subsection-title">Source</h2>
  59. <p>
  60. <a href="https://github.com/mrdoob/three.js/blob/master/src/textures/CompressedCubeTexture.js" target="_blank" rel="noopener" translate="no">src/textures/CompressedCubeTexture.js</a>
  61. </p>
  62. </article>
  63. </section>
  64. <script src="../scripts/linenumber.js"></script>
  65. <script src="../scripts/page.js"></script>
  66. </body>
  67. </html>
粤ICP备19079148号