文档

Unity Engine

Unity Engine

Evaluate(float)

Evaluate the curve at time.
阅读时间1 分钟最后更新于 1 个月前

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.