UNPKG

@polygonjs/polygonjs

Version:

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

23 lines (22 loc) 892 B
/** * sets weights for tiles * * */ import { TypedSopNode } from './_Base'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; import { CoreGroup } from '../../../core/geometry/Group'; import { SopType } from '../../poly/registers/nodes/types/Sop'; declare class WFCRuleTileWeightSopParamsConfig extends NodeParamsConfig { /** @param tile id */ tileId: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.STRING>; /** @param weight */ weight: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; } export declare class WFCRuleTileWeightSopNode extends TypedSopNode<WFCRuleTileWeightSopParamsConfig> { paramsConfig: WFCRuleTileWeightSopParamsConfig; static type(): SopType; initializeNode(): void; cook(inputCoreGroups: CoreGroup[]): Promise<void>; } export {};