forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
17
leenkx/blender/lnx/logicnode/native/LN_get_system_name.py
Normal file
17
leenkx/blender/lnx/logicnode/native/LN_get_system_name.py
Normal file
@ -0,0 +1,17 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
# Class GetSystemName
|
||||
class GetSystemName(LnxLogicTreeNode):
|
||||
"""Returns the name of the current system."""
|
||||
bl_idname = 'LNGetSystemName'
|
||||
bl_label = 'Get System Name'
|
||||
lnx_section = 'Native'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_output('LnxStringSocket', 'System Name')
|
||||
self.add_output('LnxBoolSocket', 'Windows')
|
||||
self.add_output('LnxBoolSocket', 'Linux')
|
||||
self.add_output('LnxBoolSocket', 'Mac')
|
||||
self.add_output('LnxBoolSocket', 'HTML5')
|
||||
self.add_output('LnxBoolSocket', 'Android')
|
Reference in New Issue
Block a user