forked from LeenkxTeam/LNXSDK
Repe [T3DU] Update - 31f26d171bba0355ce2a77031e3aad4c64dbc7e9
This commit is contained in:
18
leenkx/blender/lnx/logicnode/curve/LN_deform_curve.py
Normal file
18
leenkx/blender/lnx/logicnode/curve/LN_deform_curve.py
Normal file
@ -0,0 +1,18 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class DeformCurveNode(LnxLogicTreeNode):
|
||||
"""Sets an object to deform using a curve."""
|
||||
bl_idname = 'LNDeformCurveNode'
|
||||
bl_label = 'Deform Curve'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketAction', 'In')
|
||||
self.add_input('LnxNodeSocketObject', 'Object')
|
||||
self.add_input('LnxNodeSocketObject', 'Curve')
|
||||
self.add_input('LnxIntSocket', 'Spline Index')
|
||||
self.add_input('LnxStringSocket', 'Forward Axis', default_value = 'X')
|
||||
self.add_input('LnxFloatSocket', 'Start')
|
||||
self.add_input('LnxFloatSocket', 'End', default_value = 1.0)
|
||||
|
||||
self.add_output('LnxNodeSocketAction', 'Out')
|
||||
Reference in New Issue
Block a user