struct GUIListBoxFieldContent

Structure describing contents of a GUIListBoxField element.

Public

Constructors

GUIListBoxFieldContent

GUIListBoxFieldContent() = default

GUIListBoxFieldContent

GUIListBoxFieldContent(const Vector<HString> &elements, bool allowMultiselect = false, const GUIContent &labelContent = GUIContent(), u32 labelWidth = 100, bool showLabel = true)

Fields

Elements

Vector<HString> Elements

Elements to display in the list box.

AllowMultiselect

bool AllowMultiselect

Determines should the listbox allow multiple elements to be selected or just one.

ShowLabel

bool ShowLabel

If true, label will be shown next to the field.

LabelContent

GUIContent LabelContent

Content to display in the editor field label.

Only relevant if ShowLabel is true.

LabelWidth

u32 LabelWidth

Width of the label in pixels.

Only relevant if ShowLabel is true.