Reorderable List Control for Unity
ReorderableListGUICalculateListFieldHeight Method (Int32, Single, ReorderableListFlags) |
Calculate height of list field for absolute positioning.
Namespace: Rotorz.ReorderableList
Assembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)

public static float CalculateListFieldHeight( int itemCount, float itemHeight, ReorderableListFlags flags )
public static function CalculateListFieldHeight( itemCount : int, itemHeight : float, flags : ReorderableListFlags ) : float
Parameters
- itemCount
- Type: SystemInt32
Count of items in list. - itemHeight
- Type: SystemSingle
Fixed height of list item. - flags
- Type: Rotorz.ReorderableListReorderableListFlags
Optional flags to pass into list field.
Return Value
Type: SingleRequired list height in pixels.
