forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
14
leenkx/blender/lnx/logicnode/camera/LN_set_camera_aspect.py
Normal file
14
leenkx/blender/lnx/logicnode/camera/LN_set_camera_aspect.py
Normal file
@ -0,0 +1,14 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class SetCameraAspectNode(LnxLogicTreeNode):
|
||||
"""Sets the aspect of the given camera."""
|
||||
bl_idname = 'LNSetCameraAspectNode'
|
||||
bl_label = 'Set Camera Aspect'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketAction', 'In')
|
||||
self.add_input('LnxNodeSocketObject', 'Camera')
|
||||
self.add_input('LnxFloatSocket', 'Aspect', default_value=1.7)
|
||||
|
||||
self.add_output('LnxNodeSocketAction', 'Out')
|
Reference in New Issue
Block a user