Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Fade(from: float, to: float): float;
float Fade(float from, float to);
def Fade(from as float, to as float) as float

Parameters

fromValue to lerp from.
toValue to lerp to.

Description

Returns a value between from and to depending on the current value of the bools animation.