Method Add
Add(BezierKnot)
Adds a knot to the spline.
Declaration
public void Add(BezierKnot item)
Parameters
Type | Name | Description |
---|---|---|
BezierKnot | item | The BezierKnot to add. |
Implements
Add(BezierKnot, TangentMode)
Adds a knot to the spline.
Declaration
public void Add(BezierKnot item, TangentMode mode)
Parameters
Type | Name | Description |
---|---|---|
BezierKnot | item | The BezierKnot to add. |
TangentMode | mode | The tangent mode for this knot. |
Add(BezierKnot, TangentMode, float)
Adds a knot to the spline.
Declaration
public void Add(BezierKnot item, TangentMode mode, float tension)
Parameters
Type | Name | Description |
---|---|---|
BezierKnot | item | The BezierKnot to add. |
TangentMode | mode | The tangent mode for this knot. |
float | tension | The modifier value that is used to calculate the magnitude of tangents when the TangentMode is AutoSmooth. Valid values are between 0 and 1. A lower value results in sharper curves, whereas higher values appear more rounded. |