SliderTarget (interface)¶
バージョン 2.0 で追加.
BaseSliderTarget is a base class for any for any SliderTarget.
Functions¶
Float32 | getValue ? () |
Float32 | sliderToValue ? ( in Float32 value ) |
valueChanged ! ( in Float32 value ) | |
Float32 | valueToSlider ? ( in Float32 value ) |
Functions in detail¶
Float32 SliderTarget.getValue? ()
Gets the target value. Must be called only if isValid() == true.
Float32 SliderTarget.sliderToValue? ( in Float32 value )
Maps the slider value to the target value range.
value | The slider target value. |
SliderTarget.valueChanged! ( in Float32 value )
Updates the sliders values.
value | The value given by the tool. |
Float32 SliderTarget.valueToSlider? ( in Float32 value )
Maps the target value to the slider value range [-1, 1].
value | The slider tool value. |