Examples of MTSceneWindow


Examples of org.mt4j.components.visibleComponents.widgets.MTSceneWindow

           
            if (hasFBO && scene instanceof AbstractScene){
              ((AbstractScene) scene).setTransition(new BlendTransition(app, 300))
            }
           
            final MTSceneWindow sceneWindow = new MTSceneWindow(scene, 100,50, app);
            sceneWindow.setFillColor(new MTColor(50,50,50,200));
            sceneWindow.scaleGlobal(0.5f, 0.5f, 0.5f, sceneWindow.getCenterPointGlobal());
            sceneWindow.addGestureListener(DragProcessor.class, new InertiaDragAction());
            getCanvas().addChild(sceneWindow);
          }else{
            //No FBO available -> change to the new scene fullscreen directly
           
            float menuWidth = 64;
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.