forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
15
leenkx/blender/lnx/logicnode/math/LN_separate_xyz.py
Normal file
15
leenkx/blender/lnx/logicnode/math/LN_separate_xyz.py
Normal file
@ -0,0 +1,15 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class SeparateVectorNode(LnxLogicTreeNode):
|
||||
"""Splits the given vector into X, Y and Z."""
|
||||
bl_idname = 'LNSeparateVectorNode'
|
||||
bl_label = 'Separate XYZ'
|
||||
lnx_section = 'vector'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxVectorSocket', 'Vector')
|
||||
|
||||
self.add_output('LnxFloatSocket', 'X')
|
||||
self.add_output('LnxFloatSocket', 'Y')
|
||||
self.add_output('LnxFloatSocket', 'Z')
|
Reference in New Issue
Block a user