未验证 提交 9b36c7a5 编写于 作者: M Michael Herzog 提交者: GitHub

Merge pull request #17624 from JohannesDeml/typedefinition-EquirectangularToCubeGenerator-variables

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