Method SplineIndexPopup
SplineIndexPopup<T>(string, int, T)
Creates a dropdown to select a spline index relative to .
Declaration
public static int SplineIndexPopup<T>(string label, int index, T container) where T : ISplineContainer
Parameters
Type | Name | Description |
---|---|---|
string | label | An optional prefix label. |
int | index | The current index. |
T | container | A SplineContainer that determines how many splines are available in the popup selector. |
Returns
Type | Description |
---|---|
int | The selected index. |
Type Parameters
Name | Description |
---|---|
T | The type of ISplineContainer. |
SplineIndexPopup(string, int, int)
Creates a dropdown to select an index between 0 and .
Declaration
public static int SplineIndexPopup(string label, int index, int splineCount)
Parameters
Type | Name | Description |
---|---|---|
string | label | An optional prefix label. |
int | index | The current index. |
int | splineCount | The number of splines available. In most cases, this is the size of Splines |
Returns
Type | Description |
---|---|
int | The selected index. |