import React from "react"; import { BaseProps } from "../../../types/baseProps"; import { XyzwProp } from "../../../types/threeProps"; export declare const NAME = "pointLight"; export interface PointLightProps extends BaseProps { /** * (可选参数)) 十六进制光照颜色。 缺省值 0xffffff (白色) */ color?: number; /** * (可选参数) 光照强度。 缺省值 1 */ intensity?: number; position?: XyzwProp; /** * 这个距离表示从光源到光照强度为0的位置。 当设置为0时,光永远不会消失(距离无穷大)。缺省值 0. */ distance?: number; /** * 沿着光照距离的衰退量。缺省值 1。 在 physically correct 模式中,decay = 2。 */ decay?: number; } /** * 环境光会均匀的照亮场景中的所有物体 * 环境光不能用来投射阴影,因为它没有方向 */ export declare const PointLight: React.ComponentType;