ReorderableListGUI.CalculateListFieldHeight Method (Int32, Single, ReorderableListFlags)

Rotorz ReorderableList

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)
Syntax
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: Single
Required list height in pixels.
See Also