void ufoProcessParamDefine( ufoProcess process_instance, int param_index, int group_index, char *id, char *name, ufoParamType type);
Refer to the following table for command descriptions:
|
Command |
Description |
param_index |
index (0..number_parameters-1) of parameter |
group_index |
index (0..number_parameter_groups) of parameter’s group |
id |
unique (within process) id of parameter with no spaces |
name |
user interface title of parameter |
type |
parameter type |
ufoParamType |
|
ufoBooleanParam |
true/false on/off |
ufoIntegerParam |
integer |
ufoFloatParam |
floating point |
ufoNormalisedParam |
floating point normalized (0..1) |
ufoAngleParam |
floating point angle |
ufoColourRGBParam |
RGB colour |
ufoColourCMYParam |
CMY colour |
ufoColourHSVParam |
HSV colour |
ufoColourHLSParam |
HLS colour |
ufoRectangleParam |
floating point rectangle |
ufoPos3dParam |
floating point 3D position |
ufoScale3dParam |
floating point 3D scale |
ufoPos2dParam |
floating point 2D position |
ufoScale2dParam |
floating point 2D scale |
ufoStringParam |
character string |
ufoProcessParamDefine defines one of (0..number_parameters) parameters set in ufoProcessCreate.
ufoProcessParamDefine must be called within ufoProcessDefine for each parameter, except for parameters which are of the type ufoEnumParam, which has a special define function, ufoProcessEnumParamDefine.
Autodesk Softimage v7.5