UNPKG

@polygonjs/polygonjs

Version:

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

24 lines (23 loc) 925 B
/** * creates a plane * * @remarks * * */ import { TypedJsNode } from './_Base'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; import { JsLinesCollectionController } from './code/utils/JsLinesCollectionController'; declare class PlaneJsParamsConfig extends NodeParamsConfig { /** @param a unit length vector defining the normal of the plane */ normal: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>; /** @param the signed distance from the origin to the plane */ constant: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; } export declare class PlaneJsNode extends TypedJsNode<PlaneJsParamsConfig> { paramsConfig: PlaneJsParamsConfig; static type(): string; initializeNode(): void; setLines(shadersCollectionController: JsLinesCollectionController): void; } export {};