import React from "react"; import { BaseProps } from "../../../types/baseProps"; import { XyzwProp } from "../../../types/threeProps"; export declare const NAME = "directionalLight"; export interface DirectionalLightProps extends BaseProps { color: number; /** * 光照的强度。缺省值为1。 */ intensity?: number; position?: XyzwProp; /** * 投影;投射阴影 */ castShadow?: boolean; /** * camera */ camera?: any; shadowMapSize?: { width?: number; height?: number; }; multiplyScalar?: number; } /** * 平行光是沿着特定方向发射的光。这种光的表现像是无限远,从它发出的光线都是平行的。常常用平行光来模拟太阳光 的效果; 太阳足够远,因此我们可以认为太阳的位置是无限远,所以我们认为从太阳发出的光线也都是平行的。 */ export declare const DirectionalLight: React.ComponentType;