Search Results for

    Show / Hide Table of Contents

    Class FloatValueElement

    The floating point value element.

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

    Constructors

    FloatValueElement()

    Initializes a new instance of the FloatValueElement class.

    Declaration
    public FloatValueElement()

    Fields

    ValueBox

    The float value box.

    Declaration
    public readonly FloatValueBox ValueBox
    Field Value
    FlaxEditor.GUI.Input.FloatValueBox

    Properties

    Control

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

    Overrides
    FlaxEditor.CustomEditors.LayoutElement.Control

    FloatValue

    [Deprecated on 26.05.2022, expires on 26.05.2024]

    Declaration
    public FloatValueBox FloatValue { get; }
    Property Value
    FlaxEditor.GUI.Input.FloatValueBox

    IsSliding

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

    Value

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

    Methods

    SetCategory(Utils.ValueCategory)

    Sets the editor value category.

    Declaration
    public void SetCategory(Utils.ValueCategory category)
    Parameters
    Utils.ValueCategory category

    The category.

    SetLimits(FloatValueElement)

    Sets the editor limits from the other FloatValueElement.

    Declaration
    public void SetLimits(FloatValueElement other)
    Parameters
    FloatValueElement other

    The other.

    SetLimits(LimitAttribute)

    Sets the editor limits from member LimitAttribute.

    Declaration
    public void SetLimits(LimitAttribute limit)
    Parameters
    LimitAttribute limit

    The limit.

    SetLimits(MemberInfo)

    Sets the editor limits from member LimitAttribute.

    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