Class SplineFactory
Methods to create spline shapes.
Inherited Members
Namespace: UnityEngine.Splines
Assembly: solution.dll
Syntax
public static class SplineFactory
Methods
Name | Description |
---|---|
CreateCatmullRom(IList<float3>, bool) | Create a Spline from a list of positions and place tangents to create Catmull Rom curves. |
CreateCircle(float) | Creates a Spline in the shape of a circle. |
CreateHelix(float, float, int) | Creates a Spline in the shape of a helix with a single revolution. |
CreateLinear(IList<float3>, bool) | Create a Spline from a list of positions. |
CreateLinear(IList<float3>, IList<quaternion>, bool) | Create a Spline from a list of positions. |
CreatePolygon(float, int) | Creates a Spline in the shape of a polygon with a specific number of sides. |
CreateRoundedCornerSquare(float, float) | Creates a Spline in the shape of a square with circular arcs at its corners. |
CreateRoundedSquare(float, float) | Create a Spline in a square shape with rounding at the edges. |
CreateSquare(float) | Creates a Spline in the shape of a square with sharp corners. |
CreateStarPolygon(float, int, float) | Creates a Spline in in the shape of a star with a specified number of corners. |