Method SplineIndexPopup
SplineIndexPopup(Rect, string, int, int)
Creates a dropdown to select an index between 0 and .
Declaration
public static int SplineIndexPopup(Rect rect, string label, int index, int splineCount)
Parameters
Type | Name | Description |
---|---|---|
Rect | rect | The rectangle on the screen to use for the field. |
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. |