download
raw
642 Bytes
import { Texture } from './Texture.js';
import { CubeReflectionMapping } from '../constants.js';
class CubeTexture extends Texture {
constructor( images, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy, colorSpace ) {
images = images !== undefined ? images : [];
mapping = mapping !== undefined ? mapping : CubeReflectionMapping;
super( images, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy, colorSpace );
this.isCubeTexture = true;
this.flipY = false;
}
get images() {
return this.image;
}
set images( value ) {
this.image = value;
}
}
export { CubeTexture };

Xet Storage Details

Size:
642 Bytes
·
Xet hash:
dab93e6f67f47b0c26e1062e3381f3e41ab55daaea80da9aa963960450aaa175

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.