forked from LeenkxTeam/LNXSDK
14 lines
363 B
Python
14 lines
363 B
Python
from lnx.logicnode.lnx_nodes import *
|
|
|
|
|
|
class WebviewCountNode(LnxLogicTreeNode):
|
|
"""Returns the number of active WebViews"""
|
|
bl_idname = 'LNWebviewCountNode'
|
|
bl_label = 'Webview Count'
|
|
lnx_category = 'Krom Runtime'
|
|
lnx_section = 'webview'
|
|
lnx_version = 1
|
|
|
|
def lnx_init(self, context):
|
|
self.add_output('LnxIntSocket', 'Count')
|