Merge pull request #26280 from Astrak/fogtype

ThreeJS : Add null types to scene #fog and #overrideMaterial.
This commit is contained in:
Armando Aguirre
2018-06-05 12:56:17 -07:00
committed by GitHub

View File

@@ -6287,12 +6287,12 @@ export class Scene extends Object3D {
/**
* A fog instance defining the type of fog that affects everything rendered in the scene. Default is null.
*/
fog: IFog;
fog: IFog | null;
/**
* If not null, it will force everything in the scene to be rendered with that material. Default is null.
*/
overrideMaterial: Material;
overrideMaterial: Material | null;
autoUpdate: boolean;
background: any;