Spaces:
Running
Running
File size: 1,174 Bytes
2b7aae2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | import { FogBase } from './Fog';
import { Material } from './../materials/Material';
import { Object3D } from './../core/Object3D';
import { Color } from '../math/Color';
import { Texture } from '../textures/Texture';
import { WebGLRenderer } from '../renderers/WebGLRenderer';
import { Camera } from '../cameras/Camera';
// Scenes /////////////////////////////////////////////////////////////////////
/**
* Scenes allow you to set up what and where is to be rendered by three.js. This is where you place objects, lights and cameras.
*/
export class Scene extends Object3D {
constructor();
type: 'Scene';
/**
* A fog instance defining the type of fog that affects everything rendered in the scene. Default is null.
* @default null
*/
fog: FogBase | null;
/**
* If not null, it will force everything in the scene to be rendered with that material. Default is null.
* @default null
*/
overrideMaterial: Material | null;
/**
* @default true
*/
autoUpdate: boolean;
/**
* @default null
*/
background: null | Color | Texture;
/**
* @default null
*/
environment: null | Texture;
readonly isScene: true;
toJSON(meta?: any): any;
}
|