UNPKG

@types/three

Version:
24 lines (18 loc) 758 B
import { PointLight } from "../../lights/PointLight.js"; import Node from "../core/Node.js"; import { NodeRepresentation, ShaderNodeObject } from "../tsl/TSLCore.js"; import AnalyticLightNode from "./AnalyticLightNode.js"; import PointShadowNode from "./PointShadowNode.js"; export const directPointLight: ( color: NodeRepresentation, lightViewPosition: NodeRepresentation, cutoffDistance: NodeRepresentation, decayExponent: NodeRepresentation, ) => ShaderNodeObject<Node>; declare class PointLightNode extends AnalyticLightNode<PointLight> { cutoffDistanceNode: Node; decayExponentNode: Node; constructor(light?: PointLight | null); setupShadowNode(): ShaderNodeObject<PointShadowNode>; } export default PointLightNode;