Merge pull request #17908 from simonkorz/master

three: Specify DirectionalLightShadow types to access OrthographicCamera's properties
This commit is contained in:
Ryan Cavanaugh
2017-07-14 00:22:49 -07:00
committed by GitHub
+4 -2
View File
@@ -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);