ReorderableListGUI.CalculateListFieldHeight Method (Int32, ReorderableListFlags)

Rotorz ReorderableList

ReorderableListGUICalculateListFieldHeight Method (Int32, 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,
	ReorderableListFlags flags
)
public static function CalculateListFieldHeight(
	itemCount : int,
	flags : ReorderableListFlags
) : float

Parameters

itemCount
Type: SystemInt32
Count of items in list.
flags
Type: Rotorz.ReorderableListReorderableListFlags
Optional flags to pass into list field.

Return Value

Type: Single
Required list height in pixels.
See Also