OfxParameterSuiteV1::paramCopy
— Copies one parameter to another, including any animation etc...
#include "ofxParam.h"
OfxStatus
(*paramCopy)
(
|
OfxParamHandle paramTo , |
OfxParamHandle paramFrom , | |
OfxTime dstOffset , | |
const 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]
V1.3: This function can be called the
kOfxActionInstanceChanged
action and during image effect analysis render passes. V1.4: This function can be called the
kOfxActionInstanceChanged
action
\pre
\return
kOfxStatOK
- all was OK
kOfxStatErrBadHandle
- if the parameter handle was invalid