forked from LeenkxTeam/LNXSDK
		
	
		
			
	
	
		
			11 lines
		
	
	
		
			291 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			11 lines
		
	
	
		
			291 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| 
								 | 
							
								from lnx.logicnode.lnx_nodes import *
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								class GetFPSNode(LnxLogicTreeNode):
							 | 
						||
| 
								 | 
							
								    """Get the frames per second count."""
							 | 
						||
| 
								 | 
							
								    bl_idname = 'LNGetFPSNode'
							 | 
						||
| 
								 | 
							
								    bl_label = 'Get Frames Per Second'
							 | 
						||
| 
								 | 
							
								    lnx_version = 1
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    def lnx_init(self, context):
							 | 
						||
| 
								 | 
							
								        self.add_output('LnxIntSocket', 'Count')
							 |