This commit is contained in:
justumen
2024-11-02 18:41:13 +01:00
parent c9e4ad2e68
commit 74f801d62a
24 changed files with 1672 additions and 1 deletions

18
show_float.py Normal file
View File

@@ -0,0 +1,18 @@
class ShowFloat:
@classmethod
def INPUT_TYPES(cls):
return {
"required": {
"float_value": ("FLOAT", {"forceInput": True}),
},
}
INPUT_IS_LIST = True
RETURN_TYPES = ()
FUNCTION = "show_float"
OUTPUT_NODE = True
INPUT_IS_LIST = (True,)
CATEGORY = "Bjornulf"
def show_float(self, float_value):
return {"ui": {"text": float_value}}