ReorderableListGUI.CalculateListFieldHeight Method (Int32, Single)

Rotorz ReorderableList

ReorderableListGUICalculateListFieldHeight Method (Int32, Single)
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)
Syntax
public static float CalculateListFieldHeight(
	int itemCount,
	float itemHeight
)
public static function CalculateListFieldHeight(
	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