Files
LNXSDK/leenkx/blender/lnx/logicnode/variable/LN_math_constants.py

13 lines
405 B
Python
Raw Normal View History

from lnx.logicnode.lnx_nodes import *
class MathConstantsNode(LnxLogicTreeNode):
bl_idname = 'LNMathConstantsNode'
bl_label = 'Math Constants'
lnx_section = 'math'
lnx_version = 1
def lnx_init(self, context):
self.add_output('LnxFloatSocket', 'Negative Infinity')
self.add_output('LnxFloatSocket', 'Positive Infinity')
self.add_output('LnxFloatSocket', 'PI')