forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
13
leenkx/blender/lnx/logicnode/object/LN_get_object_uid.py
Normal file
13
leenkx/blender/lnx/logicnode/object/LN_get_object_uid.py
Normal file
@ -0,0 +1,13 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class GetUidNode(LnxLogicTreeNode):
|
||||
"""Returns the uid of the given object."""
|
||||
bl_idname = 'LNGetUidNode'
|
||||
bl_label = 'Get Object Uid'
|
||||
lnx_section = 'props'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketObject', 'Object')
|
||||
|
||||
self.add_output('LnxIntSocket', 'Uid')
|
Reference in New Issue
Block a user