internal static NativeCurve2 *CopyCurve2ToNativeCurve2(Curve2 managedCurve) { NativeCurve *x = CopyCurveToNativeCurve(managedCurve.X); NativeCurve *y = CopyCurveToNativeCurve(managedCurve.Y); return(util_Curve2_Ctor(x, y)); }
/// <summary> /// Create a second-order Delegate Curve /// </summary> /// <param name="curveA">First instance of `EasingCurve`</param> /// <param name="curveB">Second instance of `EasingCurve`</param> /// <param name="curveFunc2">Second-order combination function</param> public DelegateCurve(EasingCurve curveA, EasingCurve curveB, Curve2 curveFunc2) { this.curveA = curveA; this.curveB = curveB; this.curveFunc2 = curveFunc2; this.order = Order.Two; }
public FrameIdx_Key(Curve2 curve) { this.curve = curve; }
public void SetRandomCurve(Curve2 curve) { Curve = curve; TwoDimensions = true; StartValueType = StartingValue.RandomCurve; }
public void SetRandomCurve(Curve curve) { Curve = new Curve2(curve, curve); TwoDimensions = false; StartValueType = StartingValue.RandomCurve; }