Search Results for

    Show / Hide Table of Contents

    Class SliderElement

    The slider element.

    Inheritance
    System.Object
    FlaxEditor.CustomEditors.LayoutElement
    SliderElement
    Namespace: FlaxEditor.CustomEditors.Elements
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    public class SliderElement : LayoutElement, IFloatValueEditor, IIntegerValueEditor

    Constructors

    SliderElement()

    Initializes a new instance of the SliderElement class.

    Declaration
    public SliderElement()

    Fields

    Slider

    The slider control.

    Declaration
    public readonly SliderControl Slider
    Field Value
    FlaxEditor.GUI.Input.SliderControl

    Properties

    Control

    Declaration
    public override Control Control { get; }
    Property Value
    Control

    Overrides
    FlaxEditor.CustomEditors.LayoutElement.Control

    IsSliding

    Declaration
    public bool IsSliding { get; }
    Property Value
    System.Boolean

    Value

    Declaration
    public float Value { get; set; }
    Property Value
    System.Single

    Methods

    SetLimits(LimitAttribute)

    Declaration
    public void SetLimits(LimitAttribute limit)
    Parameters
    LimitAttribute limit

    SetLimits(RangeAttribute)

    Sets the editor limits from member RangeAttribute.

    Declaration
    public void SetLimits(RangeAttribute limit)
    Parameters
    RangeAttribute limit

    The limit.

    SetLimits(MemberInfo)

    Sets the editor limits from member RangeAttribute.

    Declaration
    public void SetLimits(MemberInfo member)
    Parameters
    System.Reflection.MemberInfo member

    The member.

    Extension Methods

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

    See Also

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