ReorderableListControlCalculateListHeight Method (Int32, Single) |
Calculate height of list control in pixels.
Namespace: Rotorz.ReorderableListAssembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
Syntaxpublic 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:
Single
Required list height in pixels.
See Also