This function allows for a simplified interface for automatically creating UI’s to control numeric values.
A dictionary of keywords shared by all controls can be created and passed to this function and settings which don’t pertain to the element being created will will be ignore. For example, ‘precision’ will be ignored by all non-float UI and ‘sliderSteps’ will be ignore by all non-slider UIs.
Parameters: |
|
---|
A straightforward example:
Here’s an example of how this is meant to be used in practice: