BaseSliderTarget.kl

Interfaces

SliderTarget (interface)

バージョン 2.0 で追加.

BaseSliderTarget is a base class for any for any SliderTarget.

SliderTarget SliderTarget SliderTarget BaseSliderTarget BaseSliderTarget BaseSliderTarget->SliderTarget DFGSliderTarget DFGSliderTarget DFGSliderTarget->BaseSliderTarget

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.


SliderTarget.valueChanged! ( in Float32 value )

Updates the sliders values.


Float32 SliderTarget.valueToSlider? ( in Float32 value )

Maps the target value to the slider value range [-1, 1].

Types

BaseSliderTarget (object)

Members

Ref<Tool> tool Reference to the SRT tool that manipulates its target. We only keep a weak reference (Ref<>) to avoid circular reference.
Cmd[] cmd Array of commands, one per manipulated objects.
Float32[] values Array of tranforms (one Values for each target).