Class SplineHandles.SplineHandleScope
The scope used to draw a spline. This is managing several purposes when using SplineHandles.DrawSomething(). This ensure selection is working properly, and that hovering an element is highlighting the correct related elements (for instance hovering a tangent highlights the opposite one when needed and the knot as well).
Inherited Members
Namespace: UnityEditor.Splines
Syntax
public class SplineHandleScope : IDisposable
Constructors
SplineHandleScope()
Defines a new scope to draw spline elements in.
Declaration
public SplineHandleScope()
Methods
Dispose()
Called automatically when the SplineHandleScope
is disposed.
Declaration
public void Dispose()