ThreeJS : Add null types to scene #fog and #overrideMaterial.

This commit is contained in:
Adrien Coffre
2018-06-05 09:21:42 +02:00
parent b21fbc2d15
commit ebbf6dd54d

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;