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()
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
See Also
FlaxEditor.CustomEditors.LayoutElement