ドキュメント

Unity Engine

Unity Engine

Constant(float, float, float)

Creates a constant "curve" starting at timeStart, ending at timeEnd, and set to the value value.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static AnimationCurve Constant(float timeStart, float timeEnd, float value)

Parameters

timeStart

The start time for the constant curve.

timeEnd

The end time for the constant curve.

value

The value for the constant curve.

Returns

Type

Description

AnimationCurveThe constant curve created from the specified values.