Update Files
This commit is contained in:
@ -0,0 +1,13 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class GetMaterialNode(LnxLogicTreeNode):
|
||||
"""Returns the material of the given object."""
|
||||
bl_idname = 'LNGetMaterialNode'
|
||||
bl_label = 'Get Object Material'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketObject', 'Object')
|
||||
self.add_input('LnxIntSocket', 'Slot')
|
||||
|
||||
self.add_output('LnxDynamicSocket', 'Material')
|
Reference in New Issue
Block a user