Examples of tweenTranslate()


Examples of org.mt4j.components.visibleComponents.widgets.MTTextArea.tweenTranslate()

                      //Transform the direction vector for the translation animation
                      //to preserve the direction from the old reference frame to the new parents one
//                      v.transformNormal(m);
                      v.transformDirectionVector(m);

                      ta.tweenTranslate(v, 500, 0.3f, 0.7f);

                      getParentToAddNewTextAreaTo().addChild(ta);
                    }else{
                      //If that isnt set, try to add it to the keyboards parent
                      if (getParent() != null){
View Full Code Here

Examples of org.mt4j.components.visibleComponents.widgets.MTTextArea.tweenTranslate()

                        //from the old reference frame to the new parents one
                        //The translation part has to be removed from the matrix because we're transforming
                        //a translation vector not a point vector
                        v.transformDirectionVector(m);

                        ta.tweenTranslate(v, 500, 0.3f, 0.7f);
                        /////////////////////
                        getParent().addChild(ta);
                      }else{
                        //do nothing..?
                        throw new RuntimeException("Dont know where to add text area to!");
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.