This repository has been archived by the owner on Sep 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
QS0 fade cmd
maybites edited this page Oct 23, 2021
·
1 revision
home/reference v0.x/<fade>
<fade name="(string)" timeout="time|{expr})">
<anim name="simpleRamp" duration="5s" fadeout="2s">
<track name="t1">0. 1.</track>
<send>/address ramp {t1}</send>
</anim>
<wait countdown="2s"/>
<fade name="simpleRamp" countdown="5s"/>
This example starts an animation with a duration of 5 seconds, waits for 2 seconds and then sends the animation a fadeout message.
- name = required. name of animation to fadeout. if the animation is a <while>, it will stop the loop immediately.
- fadeout = the fadeout time of the animation. This overrides the fadeout-attibute of the <anim> cmd.
- None
<fade> sends a 'fadeout' - message to all animations (<anim> , <while>) with the indicated name inside this <que>
When using {expr} inside 'fadeout' the evaluated number is interpreted as milliseconds.
(c) by Martin Froehlich maybites