ReorderableListControl.CalculateListHeight Method (Int32, Single)
Reorderable List Control for Unity
| ReorderableListControlCalculateListHeight Method (Int32, Single) |
Calculate height of list control in pixels.
Namespace: Rotorz.ReorderableList
Assembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
public float CalculateListHeight( int itemCount, float itemHeight )
public function CalculateListHeight( itemCount : int, itemHeight : float ) : float
Parameters
- itemCount
- Type: SystemInt32
Count of items in list. - itemHeight
- Type: SystemSingle
Fixed height of list item.
Return Value
Type: SingleRequired list height in pixels.