forked from LeenkxTeam/LNXSDK
18 lines
673 B
Python
18 lines
673 B
Python
from lnx.logicnode.lnx_nodes import *
|
|
|
|
class CurveGuideNode(LnxLogicTreeNode):
|
|
"""Sets the curves guide of the given particle source."""
|
|
bl_idname = 'LNCurveGuideNode'
|
|
bl_label = 'Curve Guide'
|
|
lnx_version = 1
|
|
|
|
def lnx_init(self, context):
|
|
self.add_input('LnxNodeSocketAction', 'In')
|
|
self.add_input('LnxNodeSocketObject', 'Object')
|
|
self.add_input('LnxIntSocket', 'Slot')
|
|
self.add_input('LnxNodeSocketArray', 'Curve Array')
|
|
self.add_input('LnxFloatSocket', 'Strengh', default_value = 1.0)
|
|
self.add_input('LnxFloatSocket', 'Speed', default_value = 1.0)
|
|
|
|
self.add_output('LnxNodeSocketAction', 'Out')
|