forked from LeenkxTeam/LNXSDK
12 lines
428 B
Python
12 lines
428 B
Python
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)')
|