From ebbf6dd54d48ac42444e2e7605af19cd2a168c76 Mon Sep 17 00:00:00 2001 From: Adrien Coffre Date: Tue, 5 Jun 2018 09:21:42 +0200 Subject: [PATCH] ThreeJS : Add null types to scene #fog and #overrideMaterial. --- types/three/three-core.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/three/three-core.d.ts b/types/three/three-core.d.ts index e6fe90fd2f..3ad1568409 100644 --- a/types/three/three-core.d.ts +++ b/types/three/three-core.d.ts @@ -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;