/// <summary> /// Gets the value at given time. /// The percentage must be between 0..1 /// </summary> public Rect NormalizedEvaluate(float percentage) { return(new Rect(XCurve.NormalizedEvaluate(percentage), YCurve.NormalizedEvaluate(percentage), WidthCurve.NormalizedEvaluate(percentage), HeightCurve.NormalizedEvaluate(percentage) )); }
/// <summary> /// Gets the value at given time. /// The percentage must be between 0..1 /// </summary> public Vector3 NormalizedEvaluate(float percentage) { return(new Vector3(XCurve.NormalizedEvaluate(percentage), YCurve.NormalizedEvaluate(percentage), ZCurve.NormalizedEvaluate(percentage))); }