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).
Implements
Inherited Members
Namespace: UnityEditor.Splines
Assembly: Unity.Splines.Editor.dll
Syntax
public class SplineHandles.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()