14 lines
		
	
	
		
			490 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			490 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from lnx.logicnode.lnx_nodes import *
 | 
						|
 | 
						|
class GetParticleNode(LnxLogicTreeNode):
 | 
						|
    """Returns the Particle Systems of an object."""
 | 
						|
    bl_idname = 'LNGetParticleNode'
 | 
						|
    bl_label = 'Get Particle'
 | 
						|
    lnx_version = 1
 | 
						|
 | 
						|
    def lnx_init(self, context):
 | 
						|
        self.inputs.new('LnxNodeSocketObject', 'Object')
 | 
						|
 | 
						|
        self.outputs.new('LnxNodeSocketArray', 'Names')
 | 
						|
        self.outputs.new('LnxIntSocket', 'Length')
 | 
						|
        self.outputs.new('LnxBoolSocket', 'Render Emitter') |