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.

static function Linear(timeStart: float, valueStart: float, timeEnd: float, valueEnd: float): AnimationCurve;
static AnimationCurve Linear(float timeStart, float valueStart, float timeEnd, float valueEnd);
static def Linear(timeStart as float, valueStart as float, timeEnd as float, valueEnd as float) as AnimationCurve

Description

A straight Line starting at timeStart, valueStart and ending at timeEnd, valueEnd.