From d9c5007c85f1c640dc4d09156c841a2afa946ea0 Mon Sep 17 00:00:00 2001 From: pvavrik Date: Mon, 11 Jun 2018 15:07:30 +0200 Subject: [PATCH] ThreeJS : Add color param to Light helpers --- types/three/three-core.d.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/types/three/three-core.d.ts b/types/three/three-core.d.ts index 3ad1568409..74ebd4adcf 100644 --- a/types/three/three-core.d.ts +++ b/types/three/three-core.d.ts @@ -7434,10 +7434,11 @@ export class CameraHelper extends LineSegments { } export class DirectionalLightHelper extends Object3D { - constructor(light: Light, size?: number); + constructor(light: Light, size?: number, color?: Color | string | number); light: Light; lightPlane: Line; + color: Color | string | number; dispose(): void; update(): void; @@ -7479,9 +7480,11 @@ export class HemisphereLightHelper extends Object3D { } export class PointLightHelper extends Object3D { - constructor(light: Light, sphereSize: number); + constructor(light: Light, sphereSize?: number, color?: Color | string | number); light: Light; + sphereSize: number; + color: Color | string | number; dispose(): void; update(): void; @@ -7498,9 +7501,10 @@ export class SkeletonHelper extends LineSegments { } export class SpotLightHelper extends Object3D { - constructor(light: Light); + constructor(light: Light, color?: Color | string | number); light: Light; + color: Color | string | number; dispose(): void; update(): void;