forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
26
leenkx/blender/lnx/logicnode/deprecated/LN_on_surface.py
Normal file
26
leenkx/blender/lnx/logicnode/deprecated/LN_on_surface.py
Normal file
@ -0,0 +1,26 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
|
||||
@deprecated('Surface')
|
||||
class OnSurfaceNode(LnxLogicTreeNode):
|
||||
"""Deprecated. Is recommended to use the 'Surface' node instead."""
|
||||
bl_idname = 'LNOnSurfaceNode'
|
||||
bl_label = 'On Surface'
|
||||
bl_description = "Please use the \"Surface\" node instead"
|
||||
lnx_category = 'Input'
|
||||
lnx_section = 'surface'
|
||||
lnx_version = 2
|
||||
|
||||
property0: HaxeEnumProperty(
|
||||
'property0',
|
||||
items = [('Touched', 'Touched', 'Touched'),
|
||||
('Started', 'Started', 'Started'),
|
||||
('Released', 'Released', 'Released'),
|
||||
('Moved', 'Moved', 'Moved')],
|
||||
name='', default='Touched')
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_output('LnxNodeSocketAction', 'Out')
|
||||
|
||||
def draw_buttons(self, context, layout):
|
||||
layout.prop(self, 'property0')
|
Reference in New Issue
Block a user