BaseSliderTool.kl

Interfaces

SliderTool (interface)

バージョン 2.0 で追加.

BaseSliderTool is a based class for Slider tool.

SliderTool SliderTool SliderTool BaseSliderTool BaseSliderTool BaseSliderTool->SliderTool

Functions

  valueChanged ! ( in Float32 value )

Functions in detail

SliderTool.valueChanged! ( in Float32 value )

Computes the slider’s new value while manipulating it.

Types

BaseSliderTool (object)

Members

Boolean enabled Handler is enabled.
Key enableKey Enable key.
HandlerExclusivity handlerExclusivity Handler exclusivity.
Boolean isIndependent HandlerExclusivity local override.
Boolean takeAllEvents It true, the handler takes all the events.
Boolean alwaysEnabled It true, the handler takes all the events.
Boolean isOwnedByDispatcher Checks if the handler is owned by a handlerDispatcher. In most of the cases, the dispatcher owns the handlers. However, it’s not true in DFG graphs where the handlers are owns by the nodes.
Ref<HandlerDispatcher> dispatcher Reference to the dispatcher.
ToolTarget target Tool target.
Boolean performing True if the tool is performing an action.
Float32 value Slider value.
Boolean isVertical Translation axis, vertical or horizontal.
Vec3 mouseNormalizedPos Normalized mouse position.
Float32 translationSpeedFactor Translation speed factor.

Methods

  BaseSliderTool ( in BaseSliderTool other )
  BaseSliderTool ()
BaseSliderTool clone ? ()
Boolean getOrientation ? ()
  init ! ( in SliderTarget target, in Float32 translationSpeedFactor, in Boolean isVertical, in Key enableKey, in HandlerExclusivity exclusivity, in Boolean isOwnedByDisatcher )
  move ! ( io MouseEvent mouseEvent )
  onEvent ! ( io Event event )
  press ! ( io MouseEvent mouseEvent )
  setOrientation ! ( in Boolean isVertical )
  updateFromTarget ! ()
  valueChanged ! ( in Float32 delta )