forked from LeenkxTeam/LNXSDK
14 lines
401 B
Python
14 lines
401 B
Python
from lnx.logicnode.lnx_nodes import *
|
|
|
|
|
|
class KromGetArgCountNode(LnxLogicTreeNode):
|
|
"""Returns the number of command line arguments passed to the application"""
|
|
bl_idname = 'LNKromGetArgCountNode'
|
|
bl_label = 'Get Arg Count'
|
|
lnx_category = 'Krom Runtime'
|
|
lnx_section = 'system'
|
|
lnx_version = 1
|
|
|
|
def lnx_init(self, context):
|
|
self.add_output('LnxIntSocket', 'Count')
|