Search Results for

    Show / Hide Table of Contents

    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

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)

    See Also

    FlaxEditor.CustomEditors.LayoutElement
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat