This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
fade_in [2017/04/13 15:23] – justin | fade_in [2021/04/21 18:29] (current) – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | Fades back into the scene over the specified duration (in seconds). This function would typically be called at some point after [[fade_out|Fade Out]] is called. | + | Fades back into the scene over the specified duration |
+ | ====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); |
</ | </ | ||
// | // | ||
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Fade In** function | + | Use the **Fade Out** and **Fade In** functions to transition between segments of a cutscene or as a way to hide visual modifications |
</ | </ | ||
Line 31: | Line 32: | ||
<WRAP half column> | <WRAP half column> | ||
====Visual Demo:==== | ====Visual Demo:==== | ||
- | {{:wiki:fade_in_demo.gif? | + | {{:wiki:fade_out_demo.gif? |
</ | </ | ||
</ | </ |