import type { Context } from "../../../context"; import type * as Inputs from "../../../inputs"; /** * Adjusting lights that cast shadows, the point, directional and spot lights, after they were * created: aim them at a target or move them, and the shadows follow. */ export declare class BabylonShadowLight { constructor(_context: Context); /** * Aims a shadow-casting light at a point in the scene, turning its direction to point from its * position toward `target`. * @param inputs - The light and the point to aim at * @group set * @shortname set target * @example * ```typescript * bitbybit.babylon.lights.shadowLight.setDirectionToTarget({ shadowLight: sun, target: [0, 0, 0] }); * ``` */ setDirectionToTarget(inputs: Inputs.BabylonLight.ShadowLightDirectionToTargetDto): void; /** * Moves a shadow-casting light to a point in the scene; for a directional light the position * sets where its shadows are computed from. * @param inputs - The light and the position * @group set * @shortname set position * @example * ```typescript * bitbybit.babylon.lights.shadowLight.setPosition({ shadowLight: sun, position: [50, 100, 50] }); * ``` */ setPosition(inputs: Inputs.BabylonLight.ShadowLightPositionDto): void; }