mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-31 11:07:32 +08:00
ThreeJS : Add null types to scene #fog and #overrideMaterial.
This commit is contained in:
4
types/three/three-core.d.ts
vendored
4
types/three/three-core.d.ts
vendored
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user