提交 a4173302 编写于 作者: J Johannes Deml

Add variables sourceTexture, resolution and renderTarget to type definition

上级 a6bb3be2
...@@ -31,6 +31,9 @@ export class CubemapGenerator { ...@@ -31,6 +31,9 @@ export class CubemapGenerator {
export class EquirectangularToCubeGenerator { export class EquirectangularToCubeGenerator {
constructor( sourceTexture: Texture, options?: EquirectangularToCubeGeneratorOptions ); constructor( sourceTexture: Texture, options?: EquirectangularToCubeGeneratorOptions );
sourceTexture: Texture;
resolution: number;
renderTarget: WebGLRenderTargetCube;
dispose(): void; dispose(): void;
update( renderer: WebGLRenderer ): Texture; update( renderer: WebGLRenderer ): Texture;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册