K:
The SimpleKnobNode is a versatile utility node designed to provide a user-friendly interface for adjusting a floating-point value within a specified range. This node is particularly useful in scenarios where precise control over a numerical parameter is required, such as fine-tuning effects or settings in a creative workflow. By offering a simple knob widget, it allows you to intuitively manipulate values, making it easier to achieve the desired outcome without needing to input numbers manually. The node's primary function is to return the adjusted value, which can then be used in subsequent nodes or processes. Its inclusion in the CRT/Utils/UI category highlights its role in enhancing user interaction and control within the node-based environment.
K Input Parameters:
value
The value parameter is a floating-point number that you can adjust using a simple knob widget. This parameter allows you to set a specific numerical value within a defined range, which is crucial for tasks that require precision. The value parameter has a default setting of 0, with a minimum allowable value of -10000.0 and a maximum of 10000.0. The step size for adjustments is 0.01, enabling fine-grained control over the value. This parameter's primary function is to provide a flexible and intuitive way to input a numerical value, which can significantly impact the node's execution and the results of any connected processes.
K Output Parameters:
FLOAT
The output of the SimpleKnobNode is a single floating-point number, denoted as FLOAT. This output represents the value that has been adjusted using the knob widget. The importance of this output lies in its ability to be used as an input for other nodes or processes, allowing for dynamic and responsive adjustments in your workflow. The output value is directly influenced by the input parameter, making it a crucial component for achieving the desired effects or settings in your creative projects.
K Usage Tips:
- Use the
SimpleKnobNodewhen you need precise control over a numerical parameter, as the knob widget allows for easy and intuitive adjustments. - Take advantage of the wide range of values (-10000.0 to 10000.0) to explore different settings and effects, especially in scenarios where extreme values might yield interesting results.
K Common Errors and Solutions:
Value Out of Range
- Explanation: This error occurs when the input value exceeds the specified range of -10000.0 to 10000.0.
- Solution: Ensure that the value you input or adjust using the knob widget falls within the allowed range. If necessary, reset the value to the default of 0 and adjust from there.
Invalid Step Size
- Explanation: This error might occur if the step size for adjustments is not adhered to, potentially due to manual input.
- Solution: Use the knob widget to adjust the value, ensuring that changes are made in increments of 0.01 to maintain precision and avoid errors.
