forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
12
leenkx/blender/lnx/logicnode/string/LN_string_length.py
Normal file
12
leenkx/blender/lnx/logicnode/string/LN_string_length.py
Normal file
@ -0,0 +1,12 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class LengthStringNode(LnxLogicTreeNode):
|
||||
"""Returns the length of the given string."""
|
||||
bl_idname = 'LNLengthStringNode'
|
||||
bl_label = 'String Length'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_output('LnxIntSocket', 'Length')
|
||||
|
||||
self.add_input('LnxStringSocket', 'String')
|
Reference in New Issue
Block a user