DFGSliderTarget.kl

Types

DFGSliderTarget (object)

バージョン 2.2.1 で追加.

DFGSliderTarget specializes BaseSliderTarget to be used within a DFG graph.

参考

DFGToolData

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).
DFGToolData toolData Store previous and current target transform. Uses to drive the port value.

Methods

  DFGSliderTarget ( in DFGSliderTarget other )
  DFGSliderTarget ( in String portName )
  DFGSliderTarget ()
  bakeValue ! ()
DFGSliderTarget clone ? ()
DFGToolData getToolData ? ()
  registerValue ! ()
  setToolData ! ( in DFGToolData toolData )
  valueChanged ! ( in Float32 value )

Functions

GetOrCreateDFGSliderTarget

GetOrCreateDFGSliderTarget ( io SliderTarget target, in String portName, in Float32 valueInit )

DFG helper, gets or creates a DFGSliderTarget.

target Tool target.
portName Name of the May44 input port to drive.
transformInit Initial trasnform, set from the port.