浏览代码

Add variables sourceTexture, resolution and renderTarget to type definition

Johannes Deml 6 年之前
父节点
当前提交
a4173302ec
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      examples/jsm/loaders/EquirectangularToCubeGenerator.d.ts

+ 3 - 0
examples/jsm/loaders/EquirectangularToCubeGenerator.d.ts

@@ -31,6 +31,9 @@ export class CubemapGenerator {
 export class EquirectangularToCubeGenerator {
 
 	constructor( sourceTexture: Texture, options?: EquirectangularToCubeGeneratorOptions );
+	sourceTexture: Texture;
+	resolution: number;
+	renderTarget: WebGLRenderTargetCube;
 
 	dispose(): void;
 	update( renderer: WebGLRenderer ): Texture;