@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
20 lines (19 loc) • 998 B
TypeScript
import { Constructor } from '../../types/GlobalTypes';
import { DefaultOperationParams } from '../operations/_Base';
import { Color } from 'three';
export interface AmbientLightParams extends DefaultOperationParams {
color: Color;
intensity: number;
name: string;
}
export declare const DEFAULT_AMBIENT_LIGHT_PARAMS: AmbientLightParams;
export declare function AmbientLightParamConfig<TBase extends Constructor>(Base: TBase): {
new (...args: any[]): {
/** @param sky color */
color: import("../../engine/nodes/utils/params/ParamsConfig").ParamTemplate<import("../../engine/index_all").ParamType.COLOR>;
/** @param light intensity */
intensity: import("../../engine/nodes/utils/params/ParamsConfig").ParamTemplate<import("../../engine/index_all").ParamType.FLOAT>;
/** @param light name */
name: import("../../engine/nodes/utils/params/ParamsConfig").ParamTemplate<import("../../engine/index_all").ParamType.STRING>;
};
} & TBase;