|
|
|
@ -51,9 +51,10 @@ class Example:
|
|
|
|
|
"default": 0, |
|
|
|
|
"min": 0, #Minimum value |
|
|
|
|
"max": 4096, #Maximum value |
|
|
|
|
"step": 64 #Slider's step |
|
|
|
|
"step": 64, #Slider's step |
|
|
|
|
"display": "number" # Cosmetic only: display as "number" or "slider" |
|
|
|
|
}), |
|
|
|
|
"float_field": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.01}), |
|
|
|
|
"float_field": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.01, "display": "number"}), |
|
|
|
|
"print_to_screen": (["enable", "disable"],), |
|
|
|
|
"string_field": ("STRING", { |
|
|
|
|
"multiline": False, #True if you want the field to look like the one on the ClipTextEncode node |
|
|
|
|