OfxParametricParameterSuiteV1::parametricParamAddControlPoint
— Adds a control point to the curve.
#include "ofxParametricParam.h"
OfxStatus
(*parametricParamAddControlPoint)
(
|
OfxParamHandle param , |
int curveIndex , | |
double time , | |
double key , | |
double value , | |
bool
addAnimationKey
)
;
|
This will add a new control point to the given dimension of a parametric parameter. If a key exists sufficiently close to 'key', then it will be set to the indicated control point.
kOfxStatOK
- all was fine
kOfxStatErrBadHandle
- if the paramter handle was invalid
kOfxStatErrUnknown
- if the type is unknown