1
0
forked from LeenkxTeam/LNXSDK
2025-01-22 16:18:30 +01:00

13 lines
378 B
Python

from lnx.logicnode.lnx_nodes import *
class GetObjectTraitsNode(LnxLogicTreeNode):
"""Returns all traits from the given object."""
bl_idname = 'LNGetObjectTraitsNode'
bl_label = 'Get Object Traits'
lnx_version = 1
def lnx_init(self, context):
self.add_input('LnxNodeSocketObject', 'Object')
self.add_output('LnxNodeSocketArray', 'Traits')