Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Editor is the place where you can design, how the Operator View should look like - determine what elements it should contain and customize their its position, style, and function.

...

The Root and Camera elements are always present in Operator View, but you have the option to add and customize other elements like Label, Input, Select, Slider, or SliderImage.

Info

Position of element can be changed not only by entering specific X and Y number in its settings, but also by clicking on the element and dragging it around the view.

...

You can also set the Label text for this select, which can describe what the operator should select in this field, e.g. product type, etc.

Slider

Slider element allows the operator to select a number from a given range set with min and max. Either by using the slider itself or the text field next to it (if enabled by Show text field).

The Label can be used to describe what kind of value is set by the slider. Apart from position, you can also adjust the slider width and set visibility by key.

...

Disabling text field can be used e.g. when trying to make an “on/off switch” between 0 and 1, otherwise the text field is needed for showing the set value.

Target Key is the key in Context which will contain the value which was selected in this field at the time the image was processed. You can then work with this value in Code where you access it with (if the target key is set to ‘input2’):

...