forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
13
leenkx/blender/lnx/logicnode/trait/LN_get_trait_name.py
Normal file
13
leenkx/blender/lnx/logicnode/trait/LN_get_trait_name.py
Normal file
@ -0,0 +1,13 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class GetTraitNameNode(LnxLogicTreeNode):
|
||||
"""Returns the name and the class type of the given trait."""
|
||||
bl_idname = 'LNGetTraitNameNode'
|
||||
bl_label = 'Get Trait Name'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxDynamicSocket', 'Trait')
|
||||
|
||||
self.add_output('LnxStringSocket', 'Name')
|
||||
self.add_output('LnxStringSocket', 'Class Type')
|
Reference in New Issue
Block a user