ReorderableListGUICalculateListFieldHeight Method (IReorderableListAdaptor, ReorderableListFlags) |
Calculate height of list field for adapted collection.
Namespace: Rotorz.ReorderableListAssembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
Syntaxpublic static float CalculateListFieldHeight(
IReorderableListAdaptor adaptor,
ReorderableListFlags flags
)
public static function CalculateListFieldHeight(
adaptor : IReorderableListAdaptor,
flags : ReorderableListFlags
) : float
Parameters
- adaptor
- Type: Rotorz.ReorderableListIReorderableListAdaptor
Reorderable list adaptor. - flags
- Type: Rotorz.ReorderableListReorderableListFlags
Optional flags to pass into list field.
Return Value
Type:
Single
Required list height in pixels.
See Also