Reorderable List Control for Unity
ReorderableListControlDrawControlFromState Method (Rect, IReorderableListAdaptor, ReorderableListControlDrawEmptyAbsolute, ReorderableListFlags) |
Generate and draw control from state object.
Namespace: Rotorz.ReorderableList
Assembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
![](SectionExpanded.png)
public static void DrawControlFromState( Rect position, IReorderableListAdaptor adaptor, ReorderableListControlDrawEmptyAbsolute drawEmpty, ReorderableListFlags flags )
public static function DrawControlFromState( position : Rect, adaptor : IReorderableListAdaptor, drawEmpty : ReorderableListControlDrawEmptyAbsolute, flags : ReorderableListFlags )
Parameters
- position
- Type: Rect
Position of control. - adaptor
- Type: Rotorz.ReorderableListIReorderableListAdaptor
Reorderable list adaptor. - drawEmpty
- Type: Rotorz.ReorderableListReorderableListControlDrawEmptyAbsolute
Delegate for drawing empty list. - flags
- Type: Rotorz.ReorderableListReorderableListFlags
Optional flags to pass into list field.
![](SectionExpanded.png)