forked from LeenkxTeam/LNXSDK
Repe [T3DU] Update - 31f26d171bba0355ce2a77031e3aad4c64dbc7e9
This commit is contained in:
16
leenkx/blender/lnx/logicnode/sound/LN_get_speaker_data.py
Normal file
16
leenkx/blender/lnx/logicnode/sound/LN_get_speaker_data.py
Normal file
@ -0,0 +1,16 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class GetSpeakerDataNode(LnxLogicTreeNode):
|
||||
"""Gets the data of the given speaker."""
|
||||
bl_idname = 'LNGetSpeakerDataNode'
|
||||
bl_label = 'Get Speaker Data'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketObject', 'Speaker')
|
||||
|
||||
self.add_output('LnxFloatSocket', 'Volume')
|
||||
self.add_output('LnxFloatSocket', 'Pitch')
|
||||
self.add_output('LnxIntSocket', 'Channels')
|
||||
self.add_output('LnxNodeSocketArray', 'Length')
|
||||
self.add_output('LnxNodeSocketArray', 'Position')
|
||||
Reference in New Issue
Block a user