OfxParametricParameterSuiteV1::parametricParamSetNthControlPoint
— Modifies an existing control point on a curve
#include "ofxParametricParam.h"
OfxStatus
(*parametricParamSetNthControlPoint)
(
|
OfxParamHandle param , |
int curveIndex , | |
double time , | |
int nthCtl , | |
double key , | |
double value , | |
bool
addAnimationKey
)
;
|
This modifies an existing control point. Note that by changing key, the order of the control point may be modified (as you may move it before or after anther point). So be careful when iterating over a curves control points and you change a key.
kOfxStatOK
- all was fine
kOfxStatErrBadHandle
- if the paramter handle was invalid
kOfxStatErrUnknown
- if the type is unknown