Explorar el Código

fix: examples/HDRCubeTextureLoader.d.ts

fix the parameter type declaration of HDRCubeTextureLoader
大深海 hace 6 años
padre
commit
b4fa393437
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      examples/jsm/loaders/HDRCubeTextureLoader.d.ts

+ 1 - 1
examples/jsm/loaders/HDRCubeTextureLoader.d.ts

@@ -13,7 +13,7 @@ export class HDRCubeTextureLoader {
   path: string;
   path: string;
   type: TextureDataType;
   type: TextureDataType;
 
 
-  load(url: string, onLoad: (texture: CubeTexture) => void, onProgress?: (event: ProgressEvent) => void, onError?: (event: ErrorEvent) => void): void;
+  load(urls: string[], onLoad: (texture: CubeTexture) => void, onProgress?: (event: ProgressEvent) => void, onError?: (event: ErrorEvent) => void): void;
   setPath(value: string): this;
   setPath(value: string): this;
   setDataType(type: TextureDataType): this;
   setDataType(type: TextureDataType): this;
 }
 }