This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
fade_in [2017/04/13 16:42] – justin | fade_in [2021/04/21 18:29] (current) – justin | ||
---|---|---|---|
Line 4: | Line 4: | ||
Fades back into the scene over the specified duration of time (in seconds). This function would typically be called at some point after [[fade_out|Fade Out]] is used. | Fades back into the scene over the specified duration of time (in seconds). This function would typically be called at some point after [[fade_out|Fade Out]] is used. | ||
+ | ====Signature: | ||
<code python> | <code python> | ||
fade_in(duration) | fade_in(duration) | ||
Line 9: | Line 10: | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | |duration|Length of the fade (in seconds).|[[Decimal]]|Yes| | + | |duration|Length of the fade (in seconds).|[[Number]]|Yes| |
====Example: | ====Example: | ||
- | < | + | < |
- | fade_in(1) | + | fade_in(1); |
</ | </ | ||
// | // |