Constructor
new CubeTexture( images : Array.<Image>, mapping : number, wrapS : number, wrapT : number, magFilter : number, minFilter : number, format : number, type : number, anisotropy : number, colorSpace : string )
Constructs a new cube texture.
| images |
An array holding a image for each side of a cube. Default is |
| mapping |
The texture mapping. Default is |
| wrapS |
The wrapS value. Default is |
| wrapT |
The wrapT value. Default is |
| magFilter |
The mag filter value. Default is |
| minFilter |
The min filter value. Default is |
| format |
The texture format. Default is |
| type |
The texture type. Default is |
| anisotropy |
The anisotropy value. Default is |
| colorSpace |
The color space value. Default is |
Properties
.flipY : boolean
If set to true, the texture is flipped along the vertical axis when
uploaded to the GPU.
Overwritten and set to false by default.
Default is false.
- Overrides: Texture#flipY
.images : Array.<Image>
Alias for CubeTexture#image.
.isCubeTexture : boolean (readonly)
This flag can be used for type testing.
Default is true.