ValueIncrementDelegate

Description

delegate Tinman.AddOns.Editors.ValueIncrementDelegate
<TComponent in : Component>

component : TComponent

The GUI component that holds the value.

scale : float64

The scale factor.

offset : float64

The offset value.

Full source code is included in the Tinman 3D SDK download.

Modifies a GUI value.

The following modification will be applied:

new := old * scale + offset

where old is the current GUI value that must be read from component and new is the modified GUI value that must be written back to component.