ufoProcessEnumParamDefine

void ufoProcessEnumParamDefine(
   ufoProcess process_instance,
   int param_index,
   int group_index,
   char *id,
   char *name,
   int number_values,
   char** enum_value_text);

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

number_values

number of values in the enumeration

num_value_text

array of (null terminated) strings representing enumeration values

ufoProcessEnumParamDefine defines an enumerated parameter, one of (0..number_parameters) parameters set in ufoProcessCreate.

ufoProcessEnumParamDefine must be called within ufoProcessDefine for each ufoEnumParam type parameter.

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