UNPKG

polygonjs-engine

Version:

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

29 lines (28 loc) 1.08 kB
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'; declare type ParamValuesTypeMapGeneric = { [key in ParamType]: any; }; export interface ParamValuesTypeMap extends ParamValuesTypeMapGeneric { [ParamType.BOOLEAN]: boolean; [ParamType.BUTTON]: null; [ParamType.COLOR]: Color; [ParamType.FLOAT]: number; [ParamType.FOLDER]: null; [ParamType.INTEGER]: number; [ParamType.OPERATOR_PATH]: string; [ParamType.PARAM_PATH]: TypedParamPathParamValue; [ParamType.NODE_PATH]: TypedNodePathParamValue; [ParamType.RAMP]: RampValue; [ParamType.SEPARATOR]: null; [ParamType.STRING]: string; [ParamType.VECTOR2]: Vector2; [ParamType.VECTOR3]: Vector3; [ParamType.VECTOR4]: Vector4; } export {};