@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
22 lines (20 loc) • 935 B
text/typescript
import {StringOrNumber, StringOrNumber2, StringOrNumber3, StringOrNumber4} from '../../../types/GlobalTypes';
import type {Vector2, Vector3, Vector4, Color} from 'three';
import {RampValue, RampValueJson} from '../ramp/RampValue';
import {ParamType} from '../../poly/ParamType';
type ParamInitValuesTypeMapGeneric = {[key in ParamType]: any};
export interface ParamInitValuesTypeMap extends ParamInitValuesTypeMapGeneric {
[]: number | boolean | string;
[]: null;
[]: StringOrNumber3 | Color;
[]: StringOrNumber;
[]: null;
[]: StringOrNumber;
[]: string;
[]: string;
[]: RampValue | RampValueJson;
[]: string;
[]: StringOrNumber2 | Vector2;
[]: StringOrNumber3 | Vector3;
[]: StringOrNumber4 | Vector4;
}