Explorar o código

custom cubemap files order

Vinc3r %!s(int64=6) %!d(string=hai) anos
pai
achega
7b2b408172
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Materials/Textures/cubeTexture.ts

+ 1 - 1
src/Materials/Textures/cubeTexture.ts

@@ -125,7 +125,7 @@ export class CubeTexture extends BaseTexture {
      * @param scene defines the scene the texture is attached to
      * @param extensions defines the suffixes add to the picture name in case six images are in use like _px.jpg...
      * @param noMipmap defines if mipmaps should be created or not
-     * @param files defines the six files to load for the different faces
+     * @param files defines the six files to load for the different faces in that order: px, py, pz, nx, ny, nz
      * @param onLoad defines a callback triggered at the end of the file load if no errors occured
      * @param onError defines a callback triggered in case of error during load
      * @param format defines the internal format to use for the texture once loaded