forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
18
leenkx/blender/lnx/logicnode/sound/LN_pause_speaker.py
Normal file
18
leenkx/blender/lnx/logicnode/sound/LN_pause_speaker.py
Normal file
@ -0,0 +1,18 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class PauseSpeakerNode(LnxLogicTreeNode):
|
||||
"""Pauses playback of the given speaker object. The playback will be resumed
|
||||
at the paused position.
|
||||
|
||||
@seeNode Play Speaker
|
||||
@seeNode Stop Speaker
|
||||
"""
|
||||
bl_idname = 'LNPauseSoundNode'
|
||||
bl_label = 'Pause Speaker'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketAction', 'In')
|
||||
self.add_input('LnxNodeSocketObject', 'Speaker')
|
||||
|
||||
self.add_output('LnxNodeSocketAction', 'Out')
|
Reference in New Issue
Block a user