OfxParameterSuiteV1::paramCopy
— Copies one parameter to another, including any animation etc...
#include "ofxParam.h"
OfxStatus(*paramCopy)( | OfxParamHandle paramTo, |
OfxParamHandle paramFrom, | |
OfxTimedstOffset, | |
OfxRangeD *frameRange) ; |
This copies the value of paramFrom to paramTo, including any animation it may have. All the previous values in paramTo will be lost.
To choose all animation in paramFrom set frameRange to [0, 0]
This function can be called the kOfxActionInstanceChanged
action and during image effect analysis render passes.
\pre
\return
kOfxStatOK
- all was OKkOfxStatErrBadHandle
- if the parameter handle was invalid