CubeTexture constructor
CubeTexture([
- dynamic images,
- dynamic mapping,
- dynamic wrapS,
- dynamic wrapT,
- dynamic magFilter,
- dynamic minFilter,
- dynamic format,
- dynamic type,
- dynamic anisotropy,
- dynamic encoding,
Implementation
CubeTexture([images, mapping, wrapS, wrapT, magFilter, minFilter, format, type,
anisotropy, encoding])
: super(images, mapping, wrapS, wrapT, magFilter, minFilter, format, type,
anisotropy, encoding) {
images = images ?? [];
mapping = mapping ?? CubeReflectionMapping;
flipY = false;
}