Class SplineHandles
Inherited Members
Namespace: UnityEditor.Splines
Syntax
public static class SplineHandles
Methods
DoCurve(Int32, BezierCurve)
Draws a handle for a BezierCurve.
Declaration
public static void DoCurve(int controlID, BezierCurve curve)
Parameters
Type | Name | Description |
---|---|---|
Int32 | controlID | The spline mesh controlID. |
BezierCurve | curve | The BezierCurve to create handles for. |
DoCurve(BezierCurve)
Draws a handle for a BezierCurve.
Declaration
public static void DoCurve(BezierCurve curve)
Parameters
Type | Name | Description |
---|---|---|
BezierCurve | curve | The BezierCurve to create handles for. |
DoSpline<T>(T)
Draws a handle for a spline.
Declaration
public static void DoSpline<T>(T spline)
where T : ISpline
Parameters
Type | Name | Description |
---|---|---|
T | spline | The target spline. |
Type Parameters
Name | Description |
---|---|
T | A type implementing ISpline. |
DoSpline<T>(Int32, T)
Draws a handle for a spline.
Declaration
public static void DoSpline<T>(int controlID, T spline)
where T : ISpline
Parameters
Type | Name | Description |
---|---|---|
Int32 | controlID | The spline mesh controlID. |
T | spline | The target spline. |
Type Parameters
Name | Description |
---|---|
T | A type implementing ISpline. |