Selaa lähdekoodia

Add variables sourceTexture, resolution and renderTarget to type definition

Johannes Deml 6 vuotta sitten
vanhempi
commit
a4173302ec
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  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;