Method CreateRoundedSquare
CreateRoundedSquare(float, float)
Create a Spline in a square shape with rounding at the edges.
Declaration
public static Spline CreateRoundedSquare(float radius, float rounding)
Parameters
Type | Name | Description |
---|---|---|
float | radius | The distance from center to outermost edge. |
float | rounding | The amount of rounding to apply to corners. |
Returns
Type | Description |
---|---|
Spline | A new Spline. |