Class EnumElement
The enum editor element.
Inheritance
System.Object
FlaxEditor.CustomEditors.LayoutElement
EnumElement
Namespace: FlaxEditor.CustomEditors.Elements
Assembly: FlaxEngine.CSharp.dll
Syntax
public class EnumElement : LayoutElement
Constructors
EnumElement(Type, EnumComboBox.BuildEntriesDelegate, EnumDisplayAttribute.FormatMode)
Initializes a new instance of the EnumElement class.
Declaration
public EnumElement(Type type, EnumComboBox.BuildEntriesDelegate customBuildEntriesDelegate = null, EnumDisplayAttribute.FormatMode formatMode)
Parameters
System.Type
type
The enum type. |
EnumComboBox.BuildEntriesDelegate
customBuildEntriesDelegate
The custom entries layout builder. Allows to hide existing or add different enum values to editor. |
EnumDisplayAttribute.FormatMode
formatMode
The formatting mode. |
Fields
ComboBox
The combo box used to show enum values.
Declaration
public EnumComboBox ComboBox
Field Value
EnumComboBox
|
Properties
Control
Declaration
public override Control Control { get; }
Property Value
Control
|
Overrides
FlaxEditor.CustomEditors.LayoutElement.Control
Extension Methods
See Also
FlaxEditor.CustomEditors.LayoutElement