index An integer value from 0 to the highest allocated feature. mode An integer indicating whether to set the default or current feature value. The values for mode are: 0 default value 1 current value value The feature value to be set.