Method GetActiveElement
GetActiveElement(IReadOnlyList<SplineInfo>)
Gets the active element of the selection. The active element is generally the last one added to this selection.
Declaration
public static ISelectableElement GetActiveElement(IReadOnlyList<SplineInfo> targets)
Parameters
| Type | Name | Description |
|---|---|---|
| IReadOnlyList<SplineInfo> | targets | The splines to consider when getting the active element. |
Returns
| Type | Description |
|---|---|
| ISelectableElement | The ISelectableElement that represents the active knot or tangent. Returns null if no active element is found. |