UNPKG

polygonjs-engine

Version:

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

29 lines (28 loc) 1.21 kB
import { StringOrNumber, StringOrNumber2, StringOrNumber3, StringOrNumber4 } from '../../../types/GlobalTypes'; 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, RampValueJson } from '../ramp/RampValue'; import { ParamType } from '../../poly/ParamType'; declare type ParamInitValuesTypeMapGeneric = { [key in ParamType]: any; }; export interface ParamInitValuesTypeMap extends ParamInitValuesTypeMapGeneric { [ParamType.BOOLEAN]: number | boolean | string; [ParamType.BUTTON]: null; [ParamType.COLOR]: StringOrNumber3 | Color; [ParamType.FLOAT]: StringOrNumber; [ParamType.FOLDER]: null; [ParamType.INTEGER]: StringOrNumber; [ParamType.OPERATOR_PATH]: string; [ParamType.PARAM_PATH]: string; [ParamType.NODE_PATH]: string; [ParamType.RAMP]: RampValue | RampValueJson; [ParamType.SEPARATOR]: null; [ParamType.STRING]: string; [ParamType.VECTOR2]: StringOrNumber2 | Vector2; [ParamType.VECTOR3]: StringOrNumber3 | Vector3; [ParamType.VECTOR4]: StringOrNumber4 | Vector4; } export {};