polygonjs-engine
Version:
node-based webgl 3D engine https://polygonjs.com
34 lines (32 loc) • 1.67 kB
text/typescript
// import {BooleanParam} from '../Boolean';
// import {ButtonParam} from '../Button';
// import {ColorParam} from '../Color';
// import {FloatParam} from '../Float';
// import {IntegerParam} from '../Integer';
// import {OperatorPathParam} from '../OperatorPath';
// import {RampParam} from '../Ramp';
// import {SeparatorParam} from '../Separator';
// import {StringParam} from '../String';
// import {Vector2Param} from '../Vector2';
// import {Vector3Param} from '../Vector3';
// import {Vector4Param} from '../Vector4';
import {StringOrNumber2, StringOrNumber3, StringOrNumber4} from '../../../types/GlobalTypes';
import {RampValueJson} from '../ramp/RampValue';
import {ParamType} from '../../poly/ParamType';
import {ParamInitValuesTypeMap} from './ParamInitValuesTypeMap';
type ParamInitValueSerializedTypeMapGeneric = {[key in ParamType]: any};
export interface ParamInitValueSerializedTypeMap extends ParamInitValueSerializedTypeMapGeneric {
[]: ParamInitValuesTypeMap[ParamType.BOOLEAN];
[]: ParamInitValuesTypeMap[ParamType.BUTTON];
[]: StringOrNumber3;
[]: ParamInitValuesTypeMap[ParamType.FLOAT];
[]: ParamInitValuesTypeMap[ParamType.FOLDER];
[]: ParamInitValuesTypeMap[ParamType.INTEGER];
[]: ParamInitValuesTypeMap[ParamType.OPERATOR_PATH];
[]: RampValueJson;
[]: ParamInitValuesTypeMap[ParamType.SEPARATOR];
[]: ParamInitValuesTypeMap[ParamType.STRING];
[]: StringOrNumber2;
[]: StringOrNumber3;
[]: StringOrNumber4;
}