Method CreateSquare
CreateSquare(float)
Creates a Spline in the shape of a square with sharp corners.
Declaration
public static Spline CreateSquare(float size)
Parameters
Type | Name | Description |
---|---|---|
float | size | The size of the square's edges. |
Returns
Type | Description |
---|---|
Spline | A new Spline. |