Update Files
This commit is contained in:
26
leenkx/blender/lnx/logicnode/map/LN_set_map_value.py
Normal file
26
leenkx/blender/lnx/logicnode/map/LN_set_map_value.py
Normal file
@ -0,0 +1,26 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
|
||||
class SetMapValueNode(LnxLogicTreeNode):
|
||||
"""Set Map Value.
|
||||
|
||||
@input In: Set the map.
|
||||
|
||||
@input Map: Map to set values.
|
||||
|
||||
@input Key: Key to be set.
|
||||
|
||||
@input Value: Value for the key.
|
||||
"""
|
||||
|
||||
bl_idname = 'LNSetMapValueNode'
|
||||
bl_label = 'Set Map Value'
|
||||
lnx_version = 1
|
||||
|
||||
def init(self, context):
|
||||
self.add_input('LnxNodeSocketAction', 'In')
|
||||
self.add_input('LnxDynamicSocket', 'Map')
|
||||
self.add_input('LnxDynamicSocket', 'Key')
|
||||
self.add_input('LnxDynamicSocket', 'Value')
|
||||
|
||||
self.add_output('LnxNodeSocketAction', 'Out')
|
Reference in New Issue
Block a user