Name

OfxParameterSuiteV1::paramCopy — Copies one parameter to another, including any animation etc...

Synopsis

#include "ofxParam.h" 
OfxStatus(*paramCopy)(OfxParamHandle paramTo,
  OfxParamHandle paramFrom,
  OfxTimedstOffset,
  OfxRangeD *frameRange);
 

Arguments

  • paramTo -
  • paramFrom -
  • dstOffset -
  • frameRange -

Description

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

  • Both parameters must be of the same type.

\return