|Name of gadget||Value Slider|
|Section||Sensors & Input|
|Number of Tweak pages||1|
|Last updated||21 Feb 2019 [Beta]|
This sets and reads back values and allows you to change them without going into the tweak menus. It is particularly useful for debugging purposes. You can easily read a signal a gadget is producing by wiring its output into a value slider’s Value input. Note that slider is only visible while creating; it is not visible when Dream Surfing.
Example Tutorial (from Media Molecule)
- Stamp a cube.
- Snap a rotator to the cube.
- Add a value slider to the scene and connect the value output to the rotation speed on the rotator tweak menu
- Tweak the value slider and nudge the maximum value up to 4.
- Hit start time.
- Adjust the value slider and see the cube speed up and slow down in its rotation.
- Value Slider Colour
Choose the colour of the slider here. You can change the colour dynamically with an input and the output value can be used to colour other items the same as the slider.
The value that the slider will display initially can be set here. Connect an input signal here to read and display the value from another gadget’s output (as long as it is within the minimum and maximum values – otherwise the value will be set to the relevant limit). The output sends a signal of the current value shown.
- Minimum Value
Here you can set the minimum value that the slider can be set to. This defaults to 0 but can be set to any value, positive or negative, as long as it is below (or equal to) the Maximum Value.
- Maximum Value
Here you can set the maximum value that the slider can be set to, in the same way as the Minimum Value setting, but obviously must be above the Minimum Value.
- Slider Visible in Scene
You can toggle the visibility of the slider as required. The output will be a 1 or 0 depending on whether it is visible or not.
When set to “Visible”, the Slider displays like this:
Otherwise a smaller gadget appears with the current numeric value but no slider.
Turn this gadget on/off