13 lines
		
	
	
		
			333 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			13 lines
		
	
	
		
			333 B
		
	
	
	
		
			Python
		
	
	
	
	
	
|  | from lnx.logicnode.lnx_nodes import * | ||
|  | 
 | ||
|  | class ActiveCameraNode(LnxLogicTreeNode): | ||
|  |     """Returns the active camera.
 | ||
|  | 
 | ||
|  |     @seeNode Set Active Camera"""
 | ||
|  |     bl_idname = 'LNActiveCameraNode' | ||
|  |     bl_label = 'Get Camera Active' | ||
|  |     lnx_version = 1 | ||
|  | 
 | ||
|  |     def lnx_init(self, context): | ||
|  |         self.add_output('LnxNodeSocketObject', 'Camera') |