Legacy Documentation: Version 5.3
LanguageEnglish
  • C#
  • JS

Script language

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

AnimationCurve.Evaluate

public float Evaluate(float time);

Parameters

time The time within the curve you want to evaluate (the horizontal axis in the curve graph).

Returns

float The value of the curve, at the point in time specified.

Description

Evaluate the curve at time.