UNPKG

@polygonjs/polygonjs

Version:

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

27 lines (26 loc) 1.21 kB
/** * Creates an Isocahedron * * @remarks * This is similar to a sphere, but with hexagonal patterns */ import { TypedSopNode } from './_Base'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; import { SopType } from '../../poly/registers/nodes/types/Sop'; declare class IcosahedronSopParamsConfig extends NodeParamsConfig { /** @param radius of the icosahedron */ radius: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; /** @param resolution of the icosahedron */ detail: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.INTEGER>; /** @param do not create polygons, only points. */ pointsOnly: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.BOOLEAN>; /** @param center of the icosahedron */ center: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>; } export declare class IcosahedronSopNode extends TypedSopNode<IcosahedronSopParamsConfig> { paramsConfig: IcosahedronSopParamsConfig; static type(): SopType; private _operation; cook(): void; } export {};