Version: 2017.3
public float Evaluate (float time);
public float Evaluate (float time, float lerpFactor);

パラメーター

time Normalized time (in the range 0 - 1, where 1 represents 100%) at which to evaluate the curve. This is valid when ParticleSystem.MinMaxCurve.mode is set to ParticleSystemCurveMode.Curve or ParticleSystemCurveMode.TwoCurves.
lerpFactor 2 カーブ/定数の間のブレンド (ParticleSystem.MinMaxCurve.modeParticleSystemCurveMode.TwoConstantsParticleSystemCurveMode.TwoCurves に設定されている場合に有効)

戻り値

float 計算されたカーブ値/定数値

説明

curve のモードに基づいて、値を計算するよう手動でカーブに問い合わせします。

time と lerpFactor パラメーターは自動的に 0-1 の範囲に固定されます。