struct
GUIEnumListBoxFieldContent
Inherits:
GUIListBoxFieldContent
Structure describing contents of a GUIEnumListBoxField element.
Public
Constructors
GUIEnumListBoxFieldContent
GUIEnumListBoxFieldContent() = default
GUIEnumListBoxFieldContent
GUIEnumListBoxFieldContent(const Vector<HString> &elementNames, const Vector<u64> &elementValues, bool allowMultiselect = false, const GUIContent &labelContent = GUIContent(), u32 labelWidth = 100, bool showLabel = true)
Fields
ElementValues
Vector<u64> ElementValues
Values associated with each element.
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.