Class SplineGizmoUtility
SplineGizmoUtility provides methods for drawing in-scene representations of Splines.
Namespace: UnityEditor.Splines
Syntax
public static class SplineGizmoUtility : object
Methods
DrawGizmos(ISplineProvider)
Draw a line gizmo for a ISplineProvider.
Declaration
public static void DrawGizmos(ISplineProvider provider)
Parameters
Type | Name | Description |
---|---|---|
ISplineProvider | provider | An object implementing the ISplineProvider interface. Usually this will be a MonoBehaviour. |