Method SetAutoSmoothTensionNoNotify
SetAutoSmoothTensionNoNotify(int, float)
Sets the tension 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. No changed callbacks will be invoked.
Declaration
public void SetAutoSmoothTensionNoNotify(int index, float tension)
Parameters
Type | Name | Description |
---|---|---|
int | index | The knot index to set a tension value for. |
float | tension | Set the length of the tangent vectors for a knot set to AutoSmooth. |
SetAutoSmoothTensionNoNotify(SplineRange, float)
Set the tension 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. No changed callbacks will be invoked.
Declaration
public void SetAutoSmoothTensionNoNotify(SplineRange range, float tension)
Parameters
Type | Name | Description |
---|---|---|
SplineRange | range | The range of knot indices to set a tension value for. |
float | tension | Set the length of the tangent vectors for a knot set to AutoSmooth. |