forked from LeenkxTeam/LNXSDK
16 lines
496 B
Python
16 lines
496 B
Python
from lnx.logicnode.lnx_nodes import *
|
|
|
|
class GetLightDataNode(LnxLogicTreeNode):
|
|
"""Get lights data info."""
|
|
bl_idname = 'LNGetLightDataNode'
|
|
bl_label = 'Get Light Data'
|
|
lnx_version = 1
|
|
|
|
def lnx_init(self, context):
|
|
self.add_input('LnxNodeSocketObject', 'Light')
|
|
|
|
self.add_output('LnxIntSocket', 'Type')
|
|
self.add_output('LnxFloatSocket', 'Strength')
|
|
self.add_output('LnxColorSocket', 'Color')
|
|
self.add_output('LnxBoolSocket', 'Shadow')
|