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. |
mapping |
The texture mapping. |
wrapS |
The wrapS value. |
wrapT |
The wrapT value. |
magFilter |
The mag filter value. |
minFilter |
The min filter value. |
format |
The texture format. |
type |
The texture type. |
anisotropy |
The anisotropy value. |
colorSpace |
The color space value. |
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.