Repe [T3DU] Update - 31f26d171bba0355ce2a77031e3aad4c64dbc7e9

This commit is contained in:
2026-09-04 10:46:13 -07:00
parent c915312901
commit 0460b9d587
482 changed files with 27797 additions and 3226 deletions

View File

@ -0,0 +1,27 @@
from lnx.logicnode.lnx_nodes import *
class SetObjectInstancedNode(LnxLogicTreeNode):
"""Sets the object instanced from an array of LOC, ROT and SCL."""
bl_idname = 'LNSetObjectInstancedNode'
bl_label = 'Set Object Instanced'
lnx_version = 1
property0: HaxeEnumProperty(
'property0',
items = [('1', 'Loc', 'Instances use their unique position (ipos)'),
('2', 'Loc + Rot', 'Instances use their unique position and rotation (ipos and irot)'),
('3', 'Loc + Scale', 'Instances use their unique position and scale (ipos and iscl)'),
('4', 'Loc + Rot + Scale', 'Instances use their unique position, rotation and scale (ipos, irot, iscl)')],
name='', default='1', update='')
def lnx_init(self, context):
self.add_input('LnxNodeSocketAction', 'In')
self.add_input('LnxNodeSocketObject', 'Object')
self.add_input('LnxNodeSocketArray', 'Array Instanced')
self.add_input('LnxBoolSocket', 'Include original', default_value=False)
self.add_input('LnxBoolSocket', 'Dynamic Usage', default_value=False)
self.add_output('LnxNodeSocketAction', 'Out')
def draw_buttons(self, context, layout):
layout.prop(self, 'property0')