提交 bb010caa 编写于 作者: F Filipp Keks

type fixes

上级 1a868213
......@@ -7,7 +7,7 @@ export class WebGLMaterials {
constructor( properties: WebGLProperties );
refreshUniforms( uniforms: object, material: Material, environment: Texture, pixelRatio: number, height: number ): void;
refreshUniformsFog( uniforms: object, fog: IFog ): void;
refreshMaterialUniforms( uniforms: object, material: Material, environment: Texture, pixelRatio: number, height: number ): void;
refreshFogUniforms( uniforms: object, fog: IFog ): void;
}
......@@ -6,6 +6,7 @@ import { Texture } from '../textures/Texture';
import { WebGLRenderer } from "../renderers/WebGLRenderer";
import { Camera } from "../cameras/Camera";
import { RenderTarget } from "../renderers/webgl/WebGLRenderLists";
import { WebGLRenderTarget } from "../renderers/WebGLRenderTarget";
// Scenes /////////////////////////////////////////////////////////////////////
/**
......@@ -27,7 +28,7 @@ export class Scene extends Object3D {
*/
overrideMaterial: Material | null;
autoUpdate: boolean;
background: null | Color | Texture;
background: null | Color | Texture | WebGLRenderTarget;
environment: null | Texture;
readonly isScene: true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册