polygonjs-engine
Version:
node-based webgl 3D engine https://polygonjs.com
35 lines (33 loc) • 1.34 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 {Vector2} from 'three/src/math/Vector2';
import {Vector3} from 'three/src/math/Vector3';
import {Vector4} from 'three/src/math/Vector4';
import {Color} from 'three/src/math/Color';
import {RampValue} from '../ramp/RampValue';
import {ParamType} from '../../poly/ParamType';
import {TypedNodePathParamValue, TypedParamPathParamValue} from '../../../core/Walker';
type ParamValuesTypeMapGeneric = {[key in ParamType]: any};
export interface ParamValuesTypeMap extends ParamValuesTypeMapGeneric {
[]: boolean;
[]: null;
[]: Color;
[]: number;
[]: null;
[]: number;
[]: string;
[]: TypedParamPathParamValue;
[]: TypedNodePathParamValue;
[]: RampValue;
[]: null;
[]: string;
[]: Vector2;
[]: Vector3;
[]: Vector4;
}