ReorderableListGUICalculateListFieldHeight Method (SerializedProperty, ReorderableListFlags) |
Calculate height of list field for absolute positioning.
Namespace: Rotorz.ReorderableListAssembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
Syntaxpublic static float CalculateListFieldHeight(
SerializedProperty arrayProperty,
ReorderableListFlags flags
)
public static function CalculateListFieldHeight(
arrayProperty : SerializedProperty,
flags : ReorderableListFlags
) : float
Parameters
- arrayProperty
- Type: SerializedProperty
Serializable property. - flags
- Type: Rotorz.ReorderableListReorderableListFlags
Optional flags to pass into list field.
Return Value
Type:
Single
Required list height in pixels.
See Also