Files
LNXSDK/leenkx/blender/lnx/logicnode/object/LN_get_object_instanced.py

17 lines
644 B
Python
Raw Normal View History

from lnx.logicnode.lnx_nodes import *
class GetObjectInstancedNode(LnxLogicTreeNode):
"""Gets the object instanced from an array of LOC, ROT and SCL."""
bl_idname = 'LNGetObjectInstancedNode'
bl_label = 'Get Object Instanced'
lnx_version = 1
def lnx_init(self, context):
self.add_input('LnxNodeSocketObject', 'Object')
self.add_output('LnxBoolSocket', 'Instanced', default_value=True)
self.add_output('LnxIntSocket', 'Type')
self.add_output('LnxIntSocket', 'Count')
self.add_output('LnxIntSocket', 'Stride')
self.add_output('LnxNodeSocketArray', 'Array Instanced')