LNXSDK/leenkx/blender/lnx/logicnode/string/LN_parse_float.py

14 lines
386 B
Python
Raw Normal View History

2025-01-22 16:18:30 +01:00
from lnx.logicnode.lnx_nodes import *
class ParseFloatNode(LnxLogicTreeNode):
"""Returns the floats that are in the given string."""
bl_idname = 'LNParseFloatNode'
bl_label = 'Parse Float'
lnx_section = 'parse'
lnx_version = 1
def lnx_init(self, context):
self.add_output('LnxFloatSocket', 'Float')
self.add_input('LnxStringSocket', 'String')