UNPKG

@polygonjs/polygonjs

Version:

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

21 lines (20 loc) 942 B
import { TypedSopNode } from './_Base'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; import { CoreGroup } from '../../../core/geometry/Group'; declare class HeightMapSopParamsConfig extends NodeParamsConfig { /** @param texture node to load the heightmap from */ texture: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.NODE_PATH>; /** @param values multiplier */ mult: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; } export declare class HeightMapSopNode extends TypedSopNode<HeightMapSopParamsConfig> { paramsConfig: HeightMapSopParamsConfig; static type(): string; initializeNode(): void; cook(inputCoreGroups: CoreGroup[]): Promise<void>; private _setPositionFromDataTexture; private _dataFromTexture; private _dataFromDefaultTexture; private _dataFromDataTexture; } export {};