Class DoubleValueElement
The double precision floating point value element.
Inheritance
System.Object
FlaxEditor.CustomEditors.LayoutElement
DoubleValueElement
Namespace: FlaxEditor.CustomEditors.Elements
Assembly: FlaxEngine.CSharp.dll
Syntax
public class DoubleValueElement : LayoutElement
Constructors
DoubleValueElement()
Fields
ValueBox
The double value box.
Declaration
public readonly DoubleValueBox ValueBox
Field Value
FlaxEditor.GUI.Input.DoubleValueBox
|
Properties
Control
Declaration
public override Control Control { get; }
Property Value
Control
|
Overrides
FlaxEditor.CustomEditors.LayoutElement.Control
DoubleValue
[Deprecated on 26.05.2022, expires on 26.05.2024]
Declaration
public DoubleValueBox DoubleValue { get; }
Property Value
FlaxEditor.GUI.Input.DoubleValueBox
|
IsSliding
Gets a value indicating whether user is using a slider.
Declaration
public bool IsSliding { get; }
Property Value
System.Boolean
|
Value
Gets or sets the value.
Declaration
public double Value { get; set; }
Property Value
System.Double
|
Methods
SetCategory(Utils.ValueCategory)
Sets the editor value category.
Declaration
public void SetCategory(Utils.ValueCategory category)
Parameters
Utils.ValueCategory
category
The category. |
SetLimits(DoubleValueElement)
Sets the editor limits from the other DoubleValueElement.
Declaration
public void SetLimits(DoubleValueElement other)
Parameters
DoubleValueElement
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