LNXSDK/leenkx/blender/lnx/logicnode/object/LN_get_object_mesh.py

14 lines
378 B
Python
Raw Normal View History

2025-01-22 16:18:30 +01:00
from lnx.logicnode.lnx_nodes import *
class GetMeshNode(LnxLogicTreeNode):
"""Returns the mesh of the given object."""
bl_idname = 'LNGetMeshNode'
bl_label = 'Get Object Mesh'
lnx_section = 'props'
lnx_version = 1
def lnx_init(self, context):
self.add_input('LnxNodeSocketObject', 'Object')
self.add_output('LnxDynamicSocket', 'Mesh')