Interface ISelectableElement
An interface that represents a selectable spline element. A selectable spline element can be a knot or a tangent.
ISelectableElement
is used by the selection to get information about the spline, the knot, and the positions of the spline elements.
Inherited Members
Namespace: UnityEditor.Splines
Assembly: solution.dll
Syntax
public interface ISelectableElement : IEquatable<ISelectableElement>
Properties
Name | Description |
---|---|
KnotIndex | The index of the knot in the spline. If the spline element is a tangent, this is the index of the knot that the tangent is attached to. |
LocalPosition | The position of the spline element in local space. |
Position | The position of the spline element in world space. |
SplineInfo | The SplineInfo that describes the spline. |
Methods
Name | Description |
---|---|
IsValid() | Checks if the element is valid. For example, checks if the spline is not null and the index is valid. |