This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
fade_in [2017/04/13 15:11] – external edit 127.0.0.1 | fade_in [2017/04/13 16:42] – 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 |
<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).|[[Decimal]]|Yes| |
====Example: | ====Example: | ||
Line 15: | Line 15: | ||
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 31: | ||
<WRAP half column> | <WRAP half column> | ||
====Visual Demo:==== | ====Visual Demo:==== | ||
- | {{:wiki:fade_in_demo.gif? | + | {{:wiki:fade_out_demo.gif? |
</ | </ | ||
</ | </ |