This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
fade_out [2017/04/13 15:25] – justin | fade_out [2017/04/13 15:27] – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | Fades to black over the specified duration (in seconds). [[fade_in|Fade In]] will typically be called at some point after this function to fade the screen back into view. | + | Fades to black over the specified duration (in seconds). [[fade_in|Fade In]] would typically be called at some point after this function to fade the screen back into view. |
<code python> | <code python> | ||
Line 9: | Line 9: | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | |duration|Description.|[[String]]|Yes| | + | |duration|Length of fade (in seconds).|[[Decimal]]|Yes| |
====Example: | ====Example: |