UnityEditor.EulerCurveCombinedRenderer.EvaluateCurveDeltaSlow C# (CSharp) Method

EvaluateCurveDeltaSlow() public method

public EvaluateCurveDeltaSlow ( float time, int component ) : float
time float
component int
return float
        public float EvaluateCurveDeltaSlow(float time, int component)
        {
            if (this.quaternionX == null)
            {
                return 0f;
            }
            return ((this.EvaluateCurveSlow(time + 0.001f, component) - this.EvaluateCurveSlow(time - 0.001f, component)) / 0.002f);
        }

Usage Example

Beispiel #1
0
 public float EvaluateCurveDeltaSlow(float time)
 {
     return(renderer.EvaluateCurveDeltaSlow(time, component));
 }