forked from LeenkxTeam/LNXSDK
Repe [T3DU] Update - 31f26d171bba0355ce2a77031e3aad4c64dbc7e9
This commit is contained in:
15
leenkx/blender/lnx/logicnode/light/LN_get_light_data.py
Normal file
15
leenkx/blender/lnx/logicnode/light/LN_get_light_data.py
Normal file
@ -0,0 +1,15 @@
|
||||
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')
|
||||
Reference in New Issue
Block a user