35 {
45 }
void RegisterParameterScalarFloat(int idx, string parameter_name, float default_value, float min, float max)
WARNING - min/max values are usually taken from Workbench defaults, may not be actual min/max values ...
void RegisterParameterColor(int idx, string parameter_name, float r, float g, float b, float a)
WARNING - min/max values are usually taken from Workbench defaults, may not be actual min/max values ...
static const int PARAM_CHROM_COLOR_MOD
Chromatic abberation blue channel shift magnitude. 0 = none, 2 = default.
static const int PARAM_DISTORT_WEIGHT
Color modulation effect. (red, green, blue, scale) (0,0,0,0) = default.
static const int PARAM_CENTERY
Lens center X direction (-1 = left, 0 = center, 1 = right)
static const int PARAM_DISTORT
static const int PARAM_CHROM_ABB_SHIFTG
Chromatic abberation red channel shift magnitude. 0 = none.
static const int PARAM_CHROM_ABB_SHIFTR
Maximum value of chromatic abberation, 0 = disable - note that chrom. aberr depends on amount of dist...
static const int PARAM_CHROM_ABB
Lens center Y direction (-1 = top, 0 = center, 1 = bottom)
static const int PARAM_CENTERX
Lens distortion magnitude, x > 0 = barrel distortion, x < 0 = pincushion distortion.
static const int PARAM_CHROM_ABB_SHIFTB
Chromatic abberation green channel shift magnitude. 0 = none, 1 = default.