forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
@ -0,0 +1,17 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
|
||||
class CanvasSetLocationNode(LnxLogicTreeNode):
|
||||
"""Sets the location of the given UI element."""
|
||||
bl_idname = 'LNCanvasSetLocationNode'
|
||||
bl_label = 'Set Canvas Location'
|
||||
lnx_section = 'elements_general'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketAction', 'In')
|
||||
self.add_input('LnxStringSocket', 'Element')
|
||||
self.add_input('LnxFloatSocket', 'X')
|
||||
self.add_input('LnxFloatSocket', 'Y')
|
||||
|
||||
self.add_output('LnxNodeSocketAction', 'Out')
|
Reference in New Issue
Block a user