User Tools

Site Tools


fade_in

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
fade_in [2017/04/13 15:30] justinfade_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 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:====
-<code python+<code bauxite
-fade_in(1)+fade_in(1);
 </code> </code>
 //Results:// The screen fades back into view over a duration of one second. //Results:// The screen fades back into view over a duration of one second.
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the Fade Out and Fade In functions to transition between segments of a cutscene or as a way to hide visual modifications to the scene (e.g. removing a character or object).+Use the **Fade Out** and **Fade In** functions to transition between segments of a cutscene or as a way to hide visual modifications to the scene (e.g. removing a character or object).
 </WRAP> </WRAP>
  
Line 31: Line 32:
 <WRAP half column> <WRAP half column>
 ====Visual Demo:==== ====Visual Demo:====
-{{:wiki:fade_in_demo.gif?nolink|}}+{{:wiki:fade_out_demo.gif?nolink|}}
 </WRAP> </WRAP>
 </WRAP> </WRAP>
fade_in.1492122637.txt.gz · Last modified: 2017/04/13 15:30 by justin