import { PositionalLight } from "./PositionalLight"; import type { RayHandler } from "../RayHandler"; /** * Light shaped as a circle with given radius * *
Extends {@link PositionalLight} * * @author kalle_h */ export declare class PointLight extends PositionalLight { /** * Creates light shaped as a circle with given radius * * @param rayHandler * not {@code null} instance of RayHandler * @param rays * number of rays - more rays make light to look more realistic * but will decrease performance, can't be less than MIN_RAYS * @param color * color, set to {@code null} to use the default color * @param distance * distance of light, soft shadow length is set to distance * 0.1 * @param x * horizontal position in world coordinates * @param y * vertical position in world coordinates */ constructor(rayHandler: RayHandler, rays: number, color?: import("..").LightColor, distance?: number, x?: number, y?: number); update(): void; /** * Sets light distance * *
MIN value capped to 0.1 meter *
Actual recalculations will be done only on {@link #update()} call */ setDistance(dist: number): void; /** Updates light basing on it's distance and rayNum */ setEndPoints(): void; /** Not applicable for this light type */ setDirection(_directionDegree: number): void; } //# sourceMappingURL=PointLight.d.ts.map