Метод | Описание | |
---|---|---|
FloatInputControl ( ) : System |
Constructor
|
|
FloatInputControl ( float value, float min, float max ) : System |
Constructor with initial and bounding values
|
|
SetMinMax ( float min, float max ) : void |
Sets min and max
|
Метод | Описание | |
---|---|---|
GetPosition ( float value ) : float |
Translates from value to normalized position Override this method to change the mapping between position and value, for example, for a logarithmic slider. This should be the inverse of GetValue(). |
|
GetValue ( float position ) : float |
Translates from normalized trackbar position to value Override this method to change the mapping between position and value, for example, for a logarithmic slider. |
|
OnPaint ( PaintEventArgs e ) : void |
Handles the
|
|
OnValueChanged ( EventArgs e ) : void |
Raises the E:Sce.Atf.Controls.IntInputControl.ValueChanged event
|
|
OnValueEdited ( EventArgs e ) : void |
Raises the E:Sce.Atf.Controls.IntInputControl.ValueEdited event
|
Метод | Описание | |
---|---|---|
Constrain ( float value ) : float | ||
EndEdit ( bool forceNewValue ) : void | ||
SetValue ( float value, bool forceNewValue ) : void | ||
UpdateTextBox ( ) : void |
public FloatInputControl ( float value, float min, float max ) : System | ||
value | float | Initial value |
min | float | Minimum value |
max | float | Maximum value |
Результат | System |
protected GetPosition ( float value ) : float | ||
value | float | The value, in [Min..Max] |
Результат | float |
protected GetValue ( float position ) : float | ||
position | float | The normalized trackbar position, in [0..1] |
Результат | float |
protected OnPaint ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | A |
Результат | void |
protected OnValueChanged ( EventArgs e ) : void | ||
e | EventArgs | The |
Результат | void |
protected OnValueEdited ( EventArgs e ) : void | ||
e | EventArgs | The |
Результат | void |
public SetMinMax ( float min, float max ) : void | ||
min | float | min value |
max | float | max value |
Результат | void |