未验证 提交 b4fa3934 编写于 作者: 大深海 提交者: GitHub

fix: examples/HDRCubeTextureLoader.d.ts

fix the parameter type declaration of HDRCubeTextureLoader
上级 89d4d8e4
...@@ -13,7 +13,7 @@ export class HDRCubeTextureLoader { ...@@ -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;
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册