Documentation

Unity Engine

Unity Engine

Evaluate(float)

Evaluate the curve at time.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public float Evaluate(float time)

Parameters

time

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

Returns

Type

Description

floatThe value of the curve, at the point in time specified.