Files
LNXSDK/leenkx/blender/lnx/logicnode/material/LN_set_object_materials.py

15 lines
448 B
Python
Raw Normal View History

from lnx.logicnode.lnx_nodes import *
class SetMaterialsNode(LnxLogicTreeNode):
"""TO DO."""
bl_idname = 'LNSetMaterialsNode'
bl_label = 'Set Object Materials'
lnx_version = 1
def lnx_init(self, context):
self.add_input('LnxNodeSocketAction', 'In')
self.add_input('LnxNodeSocketObject', 'Object')
self.add_input('LnxNodeSocketArray', 'Materials')
self.add_output('LnxNodeSocketAction', 'Out')