This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
fade_in [2017/04/13 15:11] – external edit 127.0.0.1 | fade_in [2021/04/21 18:29] (current) – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | Fades back into the scene over the specified duration (in seconds). | + | Fades back into the scene over the specified duration |
+ | ====Signature: | ||
<code python> | <code python> | ||
- | fade_in(1) | + | fade_in(duration) |
</ | </ | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | |1|Description.|[[String]]|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? |
</ | </ | ||
</ | </ |