Method UpdatePivotPosition
UpdatePivotPosition(bool)
Updates current pivot position, usually called internally by callbacks. It can be called to refresh the pivot position after manipulating spline elements, for instance, such as moving a knot.
Declaration
public static void UpdatePivotPosition(bool useKnotPositionForTangents = false)
Parameters
Type | Name | Description |
---|---|---|
bool | useKnotPositionForTangents | Set to true to use the knots positions to compute the pivot instead of the tangents ones. This is necessary for some tools where it is preferrable to represent the handle on the knots rather than on the tangents directly. For instance, rotating a tangent is more intuitive when the handle is on the knot. |