Capítulo 217 de 859

Chapter 217: CompressedCubeTexture

Core Idea

Creates a cube texture based on data in compressed form.

These texture are usually loaded with CompressedTextureLoader.

Key Concepts

  • isCompressedCubeTexture : boolean (readonly): This flag can be used for type testing.
  • isCubeTexture : boolean (readonly): This flag can be used for type testing.

Reference Tables

Constructor

Signature
new CompressedCubeTexture( images : Array.<CompressedTexture>, format : number, type : number )

Properties

PropertyDescription
.isCompressedCubeTexture : boolean (readonly)This flag can be used for type testing.
.isCubeTexture : boolean (readonly)This flag can be used for type testing.

Key Takeaways

  1. CompressedCubeTexture extends: EventDispatcher → Texture → CompressedTexture
  2. Most relevant properties: isCompressedCubeTexture, isCubeTexture.

Connects To