Version: 2020.2
言語: 日本語
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 Blend between the two curves/constants (Valid when ParticleSystem.MinMaxCurve.mode is set to ParticleSystemCurveMode.TwoConstants or ParticleSystemCurveMode.TwoCurves).

戻り値

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

説明

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

This automatically clamps the time and lerpFactor properties between 0 and 1.