java - Change background color of a scene in mt4j without clear -


I'm moving in the examples of the mt4j multitouch java library and in the "advanced drawing." Example, for example drawing Trying to change the background color. Since this set set to false, so I can not do it with clear collar option. Any other ideas out there? Thanks to TherioN with the help of the NUIGroup forum, I found a way to do this. It is possible to add an MTRectangle with

  Ultimate MTSceneTexture Volume = New MTSceneTitxture (MTApitalization, 0, 0, MTAP Wide, MTPC., High, Drawingscene); View output .getFbo () Clear (true, 255, 255, 255, 0, true); Visual output .Sets Stroke Collar (New MT Collar (155155155)); // background MTRectangle background = new MTRctengle (0,0, mtApplication.width, mtApplication.height, mtApplication); Background.setFillColor (new MTColor (255244,150,255)); // Add visual texture as a child of background texture so that visual texture can be dragged in front background .addChild (sceneTexture); Frame.addChild (background);  

Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -