forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
15
leenkx/blender/lnx/logicnode/camera/LN_set_camera_active.py
Normal file
15
leenkx/blender/lnx/logicnode/camera/LN_set_camera_active.py
Normal file
@ -0,0 +1,15 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class SetCameraNode(LnxLogicTreeNode):
|
||||
"""Sets the active camera.
|
||||
|
||||
@seeNode Get Active Camera"""
|
||||
bl_idname = 'LNSetCameraNode'
|
||||
bl_label = 'Set Camera Active'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketAction', 'In')
|
||||
self.add_input('LnxNodeSocketObject', 'Camera')
|
||||
|
||||
self.add_output('LnxNodeSocketAction', 'Out')
|
Reference in New Issue
Block a user