User Tools

Site Tools


fade_out

Fade Out


Fades to black over the specified duration of time (in seconds). Fade In would typically be called at some point after this function to fade the screen back into view.

Signature:

fade_out(duration)
ArgumentDescriptionTypeRequired
durationLength of fade (in seconds).DecimalYes

Example:

fade_out(1)

Results: The screen fades to black over a duration of one second.

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).


Editor Node:

Visual Demo:

fade_out.txt · Last modified: 2018/03/16 09:44 by justin