UNPKG

polygonjs-engine

Version:

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

33 lines (32 loc) 1.56 kB
/** * Creates a plane. * * * */ import { TypedSopNode } from './_Base'; import { CoreGroup } from '../../../core/geometry/Group'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; declare class PlaneSopParamsConfig extends NodeParamsConfig { /** @param size of the plane */ size: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.VECTOR2>; /** @param defines if the plane resolution is sets via the number of segments or via the step size */ useSegmentsCount: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.BOOLEAN>; /** @param step size */ stepSize: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.FLOAT>; /** @param segments count */ segments: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.VECTOR2>; /** @param axis perpendicular to the plane */ direction: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.VECTOR3>; /** @param center of the plane */ center: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.VECTOR3>; } export declare class PlaneSopNode extends TypedSopNode<PlaneSopParamsConfig> { params_config: PlaneSopParamsConfig; static type(): string; static displayedInputNames(): string[]; initializeNode(): void; private _operation; cook(input_contents: CoreGroup[]): void; } export {};