mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
Merge pull request #17908 from simonkorz/master
three: Specify DirectionalLightShadow types to access OrthographicCamera's properties
This commit is contained in:
Vendored
+4
-2
@@ -1949,10 +1949,12 @@ export class DirectionalLight extends Light {
|
||||
*/
|
||||
intensity: number;
|
||||
|
||||
shadow: LightShadow;
|
||||
shadow: DirectionalLightShadow;
|
||||
}
|
||||
|
||||
export class DirectionalLightShadow extends LightShadow {}
|
||||
export class DirectionalLightShadow extends LightShadow {
|
||||
camera: OrthographicCamera;
|
||||
}
|
||||
|
||||
export class HemisphereLight extends Light {
|
||||
constructor(skyColorHex?: number|string, groundColorHex?: number|string, intensity?: number);
|
||||
|
||||
Reference in New Issue
Block a user