OfxParameterSuiteV1::paramSetValue
— Sets the current value of a parameter
#include "ofxParam.h"
OfxStatus
(*paramSetValue)
(
|
OfxParamHandle paramHandle , |
...
)
;
|
This sets the current value of a parameter. The varargs ... argument needs to be values of the relevant type for this parameter. Note that params with multiple values (eg Colour) take multiple args here. For example...
ofxHost->paramSetValue(instance, "myDoubleParam", double(10)); ofxHost->paramSetValue(instance, "myColourParam", double(pix.r), double(pix.g), double(pix.b));
\note paramSetValue should only be called from within a
kOfxActionInstanceChanged
or interact action.