forked from LeenkxTeam/LNXSDK
Add leenkx/blender/lnx/logicnode/sound/LN_get_position_speaker.py
This commit is contained in:
@ -0,0 +1,11 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class GetPositionSpeakerNode(LnxLogicTreeNode):
|
||||
"""Gets the current playback position of the given speaker object in seconds."""
|
||||
bl_idname = 'LNGetPositionSpeakerNode'
|
||||
bl_label = 'Get Position Speaker'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketObject', 'Speaker')
|
||||
self.add_output('LnxFloatSocket', 'Position (seconds)')
|
Reference in New Issue
Block a user