Update Files
This commit is contained in:
32
leenkx/blender/lnx/logicnode/custom/LN_load_wasm.py
Normal file
32
leenkx/blender/lnx/logicnode/custom/LN_load_wasm.py
Normal file
@ -0,0 +1,32 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
|
||||
class LoadWASMNode(LnxLogicTreeNode):
|
||||
"""Load WASM"""
|
||||
bl_idname = 'LNLoadWASMNode'
|
||||
bl_label = 'Load WASM'
|
||||
bl_description = 'Load WASM'
|
||||
lnx_category = 'HTML'
|
||||
lnx_version = 1
|
||||
|
||||
property1: HaxeBoolProperty(
|
||||
'property1',
|
||||
name="Secure",
|
||||
description="Secure host connection",
|
||||
default=False,
|
||||
)
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketAction', 'In')
|
||||
self.add_input('LnxStringSocket', 'Path')
|
||||
|
||||
self.add_output('LnxNodeSocketAction', 'Out')
|
||||
self.add_output('LnxNodeSocketAction', 'Loaded')
|
||||
self.add_output('LnxDynamicSocket', 'WASM')
|
||||
|
||||
def draw_buttons(self, context, layout):
|
||||
layout.prop(self, 'property1')
|
||||
|
||||
def register():
|
||||
add_category('HTML', icon='SEQ_STRIP_META')
|
||||
LoadWASMNode.on_register()
|
Reference in New Issue
Block a user