0.2.0-dev Download ZIP
21 lines ·1.0 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="AwaitTweener" inherits="Tweener" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> |
| 3 | <brief_description> |
| 4 | Awaits a specified signal. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | [AwaitTweener] is used to await a specified signal, allowing asynchronous steps in [Tween] animation. See [method Tween.tween_await] for more usage information. |
| 8 | The [signal Tweener.finished] signal is emitted when either the awaited signal is received, when timeout is reached, or when the target object is freed. |
| 9 | </description> |
| 10 | <tutorials> |
| 11 | </tutorials> |
| 12 | <methods> |
| 13 | <method name="set_timeout"> |
| 14 | <return type="AwaitTweener" /> |
| 15 | <param index="0" name="timeout" type="float" /> |
| 16 | <description> |
| 17 | Sets the maximum time an [AwaitTweener] can wait for the signal. Can be used as a safeguard for signals that may never be emitted. If not specified, the tweener will wait indefinitely. |
| 18 | </description> |
| 19 | </method> |
| 20 | </methods> |
| 21 | </class> |