ThreeJS : Add color param to Light helpers

This commit is contained in:
pvavrik
2018-06-11 15:07:30 +02:00
parent 43bee43a8c
commit d9c5007c85
+7 -3
View File
@@ -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;