Method Insert
Insert(int, BezierKnot)
Insert a BezierKnot at the specified index
.
Declaration
public void Insert(int index, BezierKnot knot)
Parameters
Type | Name | Description |
---|---|---|
int | index | The zero-based index to insert the new element. |
BezierKnot | knot | The BezierKnot to insert. |
Implements
Insert(int, BezierKnot, TangentMode)
Inserts a BezierKnot at the specified index
.
Declaration
public void Insert(int index, BezierKnot knot, TangentMode mode)
Parameters
Type | Name | Description |
---|---|---|
int | index | The zero-based index to insert the new element. |
BezierKnot | knot | The BezierKnot to insert. |
TangentMode | mode | The TangentMode to apply to this knot. Tangent modes are enforced when a knot value is set. |
Insert(int, BezierKnot, TangentMode, float)
Adds a BezierKnot at the specified index
.
Declaration
public void Insert(int index, BezierKnot knot, TangentMode mode, float tension)
Parameters
Type | Name | Description |
---|---|---|
int | index | The zero-based index to insert the new element. |
BezierKnot | knot | The BezierKnot to insert. |
TangentMode | mode | The TangentMode to apply to this knot. Tangent modes are enforced when a knot value is set. |
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. |