@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
30 lines (29 loc) • 1.22 kB
TypeScript
/**
* Creates an ambient light.
*
* @remarks
* An ambient light will add a uniform light to every object. This can be useful to elevate the shadows slightly.
*
*/
import { AmbientLight } from 'three';
import { TypedLightObjNode } from './_BaseLight';
import { NodeParamsConfig } from '../utils/params/ParamsConfig';
declare const AmbientLightObjParamsConfig_base: {
new (...args: any[]): {
color: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.COLOR>;
intensity: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>;
name: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.STRING>;
};
} & typeof NodeParamsConfig;
declare class AmbientLightObjParamsConfig extends AmbientLightObjParamsConfig_base {
}
export declare class AmbientLightObjNode extends TypedLightObjNode<AmbientLight, AmbientLightObjParamsConfig> {
paramsConfig: AmbientLightObjParamsConfig;
static type(): string;
initializeNode(): void;
private __operation__;
private _operation;
createLight(): AmbientLight;
protected updateLightParams(): void;
}
export {};