UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

27 lines (26 loc) 1.35 kB
/** * Update the camera near/far * * */ import { TypedJsNode } from './_Base'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; import { JsLinesCollectionController } from './code/utils/JsLinesCollectionController'; declare class SetPerspectiveCameraNearFarJsParamsConfig extends NodeParamsConfig { /** @param near */ near: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; /** @param far */ far: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; /** @param lerp factor */ lerp: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; /** @param sets if the projection matrix should be updated as the animation progresses */ updateProjectionMatrix: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.BOOLEAN>; } export declare class SetPerspectiveCameraNearFarJsNode extends TypedJsNode<SetPerspectiveCameraNearFarJsParamsConfig> { readonly paramsConfig: SetPerspectiveCameraNearFarJsParamsConfig; static type(): string; initializeNode(): void; setLines(linesController: JsLinesCollectionController): void; setTriggerableLines(shadersCollectionController: JsLinesCollectionController): void; } export {};