Package org.jwildfire.envelope

Examples of org.jwildfire.envelope.Envelope.evaluate()


  private static double evalCurve(double pFrame, MotionCurve curve) {
    MotionCurve currCurve = curve;
    double value = 0.0;
    while (currCurve != null) {
      Envelope envelope = currCurve.toEnvelope();
      value += envelope.evaluate(pFrame);
      currCurve = currCurve.getParent();
    }
    return value;
  }
View Full Code Here


        Action action = actionList.get(row);
        if (action.hasEnvelopes()) {
          for (Parameter parameter : action.getParameterList()) {
            Envelope envelope = parameter.getEnvelope();
            if (envelope != null) {
              double val = envelope.evaluate(frame);
              parameter.setValue(Tools.doubleToString(val));
            }
          }

          StringBuffer b = new StringBuffer();
View Full Code Here

          for (Action action : actions) {
            if (action.hasEnvelopes()) {
              for (Parameter parameter : action.getParameterList()) {
                Envelope envelope = parameter.getEnvelope();
                if (envelope != null) {
                  double val = envelope.evaluate(frame);
                  parameter.setValue(Tools.doubleToString(val));
                }
              }
            }
          }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.