Effects.CurveDesigner.SetPoints method |
|
Remarks
Modifies positions of Bézier curve control points (right and left) inside the curve designer. Control points positions can be obtained Effects.CurveDesigner.GetPoints method.
For details about using the Curve Designer refer to the How to create custom volume curves tutorial.
Further information about the use of Volume Automation can be found inside the How to define a volume automation procedure tutorial.
Syntax
[Visual Basic] control.Effects.CurveDesigner.SetPoints ( nDesignerUniqueId as Long, nLeftX as Integer, nLeftY as Integer, nRightX as Integer, nRightY as Integer ) as enumErrorCodes |
[C++] short control.Effects.CurveDesigner.SetPoints ( long nDesignerUniqueId, short *nLeftX, short *nLeftY, short *nRightX, short *nRightY ); |
Parameter |
Description |
|
|
nDesignerUniqueId |
Unique identifier of the curve designer returned by a previous call to the Effects.CurveDesigner.Create method |
nLeftX |
The horizontal position, expressed in percentage of the designer's area, of the left control point |
nLeftY |
The vertical position, expressed in percentage of the designer's area, of the left control point |
nRightX |
The horizontal position, expressed in percentage of the designer's area, of the right control point |
nRightY |
The vertical position, expressed in percentage of the designer's area, of the right control point |
Return value
Value |
Meaning |
|
|
enumErrorCodes.ERR_NOERROR (0) |
The call was successful. |
Negative value |
An error occurred (see the LastError property for further error details) |