Method SetTangentMode
SetTangentMode(TangentMode, BezierTangent)
Sets the tangent mode of the knot.
Declaration
public void SetTangentMode(TangentMode mode, BezierTangent main)
Parameters
Type | Name | Description |
---|---|---|
TangentMode | mode | The TangentMode to apply to the knot. |
BezierTangent | main | The tangent to use as the main tangent when the tangent is set to the Mirrored or Continuous tangent mode. The main tangent is not modified, but the other tangent attached to that knot is modified to adopt the new tangent mode. |