Method CreateHelix
CreateHelix(float, float, int)
Creates a Spline in the shape of a helix with a single revolution.
Declaration
public static Spline CreateHelix(float radius, float height, int revolutions)
Parameters
Type | Name | Description |
---|---|---|
float | radius | The distance from the center to the helix's curve. |
float | height | The height of the helix shape. |
int | revolutions | The number of revolutions the helix should have. |
Returns
Type | Description |
---|---|
Spline | A new Spline. |