Update Files
This commit is contained in:
12
leenkx/blender/lnx/logicnode/camera/LN_get_camera_aspect.py
Normal file
12
leenkx/blender/lnx/logicnode/camera/LN_get_camera_aspect.py
Normal file
@ -0,0 +1,12 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class GetCameraAspectNode(LnxLogicTreeNode):
|
||||
"""Returns the aspect of the given camera."""
|
||||
bl_idname = 'LNGetCameraAspectNode'
|
||||
bl_label = 'Get Camera Aspect'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketObject', 'Camera')
|
||||
|
||||
self.add_output('LnxFloatSocket', 'Aspect')
|
Reference in New Issue
Block a user