Update Files
This commit is contained in:
14
leenkx/blender/lnx/logicnode/input/LN_get_touch_location.py
Normal file
14
leenkx/blender/lnx/logicnode/input/LN_get_touch_location.py
Normal file
@ -0,0 +1,14 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class GetTouchLocationNode(LnxLogicTreeNode):
|
||||
"""Returns the location of the last touch event in screen coordinates (pixels)."""
|
||||
bl_idname = 'LNGetTouchLocationNode'
|
||||
bl_label = 'Get Touch Location'
|
||||
lnx_section = 'surface'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_output('LnxIntSocket', 'X')
|
||||
self.add_output('LnxIntSocket', 'Y')
|
||||
self.add_output('LnxIntSocket', 'Inverted X')
|
||||
self.add_output('LnxIntSocket', 'Inverted Y')
|
Reference in New Issue
Block a user