mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 04:01:52 +00:00
ThreeJS : Add color param to Light helpers
This commit is contained in:
Vendored
+7
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user