import type { AmbientLightProps, DirectionalLightProps } from '@antv/g-plugin-3d'; import type { BasePluginOptions, RuntimeContext } from '@antv/g6'; import { BasePlugin } from '@antv/g6'; /** * 光照插件配置项 * * Light plugin options */ export interface LightOptions extends BasePluginOptions { /** * 环境光 * * Ambient light */ ambient?: AmbientLightProps; /** * 平行光 * * Directional light */ directional?: DirectionalLightProps; } /** * 光照插件 * * Light plugin */ export declare class Light extends BasePlugin { static defaultOptions: Partial; private ambient?; private directional?; constructor(context: RuntimeContext, options: LightOptions); private bindEvents; private unbindEvents; private setLight; private upsertLight; /** * 销毁插件 * * Destroy the plugin * @internal */ destroy(): void; }