Method SetTangentModeNoNotify
SetTangentModeNoNotify(int, TangentMode, BezierTangent)
Sets the TangentMode for a knot, and ensures that the rotation and tangent values match the behavior of the tangent mode. No changed callbacks will be invoked. This function can modify the contents of the BezierKnot at the specified index.
Declaration
public void SetTangentModeNoNotify(int index, TangentMode mode, BezierTangent main = BezierTangent.Out)
Parameters
Type | Name | Description |
---|---|---|
int | index | The index of the knot to set. |
TangentMode | mode | The mode to set. |
BezierTangent | main | The tangent direction to align both the In and Out tangent when assigning Continuous or Mirrored tangent mode. |