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