Class SplineHandles
This class provides the ability to draw a handle for a spline.
Inherited Members
Namespace: UnityEditor.Splines
Assembly: solution.dll
Syntax
public static class SplineHandles
Properties
Name | Description |
---|---|
lineBehindColor | The color of sections of spline curve handles that are behind objects in the Scene view. |
lineColor | The color of sections of spline curves handles that are in front of objects in the Scene view. |
pickingDistance | The distance to pick a spline knot, tangent, or curve handle at. |
tangentColor | The color of tangent handles for a spline. |
Methods
Name | Description |
---|---|
DoCurve(int, BezierCurve) | Draws a handle for a BezierCurve. |
DoCurve(BezierCurve) | Draws a handle for a BezierCurve. |
DoHandles(IReadOnlyList<SplineInfo>) | Creates handles for a set of splines. These handles display the knots, tangents, and segments of a spline. These handles support selection and the direct manipulation of spline elements. |
DoKnotHandles(SelectableKnot) | Create handles for a knot. These handles the support selection and direct manipulation of spline elements.
Call |
DoKnotWithTangentsHandles(SelectableKnot) | Creates handles for a knot and its tangents if those tangents are modifiable.
These handles support the selection and direct manipulation of spline elements.
Call |
DoKnotsAndTangentsHandles(IReadOnlyList<SplineInfo>) | Creates knot and tangent handles for multiple splines. Call |
DoKnotsAndTangentsHandles(SplineInfo) | Creates knot and tangent handles for a spline. Call |
DoSegmentsHandles(SplineInfo) | Creates segment handles for a spline. Call |
DoSpline<T>(int, T) | Draws a handle for a spline. |
DoSpline<T>(T) | Draws a handle for a spline. |
DoTangentsHandles(SelectableKnot) | Create handles for a knot's tangents if those tangents are modifiable. |
DrawKnot(int, SelectableKnot, bool, bool) | Draws handles for a knot. These handles are drawn only during repaint events and not on selection. |
DrawKnot(SelectableKnot, bool, bool) | Draws handles for a knot. These handles are drawn only during repaint events and not on selection. |
DrawTangent(int, SelectableTangent, bool, bool) | Draws handles for a tangent. These handles are drawn only during repaint events and not on selection. |
DrawTangent(SelectableTangent, bool, bool) | Draws handles for a tangent. These handles are drawn only during repaint events and not on selection. |