User guide
141
The primary widget types and widget hint values for user parameters of type string and number are shown in the
table below:
Widget Type Widget Hint Values Description and Example
String and Number
Mapping Pop-up
Menu
mapper Similar to Pop-up Menu, but with the option to map values.
See Widget Options for more information.
<param name="opacity" widget="mapper">
<hintdict name="options">
<float value="0.0" name="A"/>
<float value="0.5" name="B"/>
<float value="1.0" name="C"/>
</hintdict>
</param>
Check Box checkBox Similar to Boolean, but displayed as a checkbox.
<param name="RepeatS"
widget="checkBox"/>
Scenegraph
Location
scenegraphLocation Widget for specifying locations in the Scene Graph, e.g.
/root/world/geo/pony1
<param name="loc"
widget="scenegraphLocation"/>
Resolution resolution A resolution, e.g.: 1024x768.
<param name="loc"
widget="resolution"/>
File Path fileInput String parameter representing a file on disk. Uses the
standard Katana file browser for selection.
<param name="texname"
widget="fileInput"/>
Asset assetIdInput Widget to represent an asset. The fields that are displayed in
the UI and the browser that is used for selection can be
customized using the Asset Management System API.
<param name="EnvMap"
widget="assetIdInput"/>
20 ARGS FILES IN SHADERS | EDIT SHADER INTERFACE INTERACTIVELY IN THE UI