大约有 5 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0021 秒)
...载不出canvas.toDateUrl $("#ewm").qrcode({render:"canvas",width:parseInt(1136*0.3),height:parseInt(1136*0.3),correctLevel:0,text:textDz});//生成二维码图案 var t = new Texture(); t.load($("#ewm canvas")[0].toDataURL()); ewmSprit.graphics.drawTexture(t,0,0);//这样可以加载出来 --------...
来源: Laya_社区 发布时间: 20160928
...new Laya.Sprite(); // var png = window.conch.convertBitmapToPng(data, 640, 1136); var cc = new laya.resource.Texture(data); ss.source = cc; // Laya.stage.addChild(sp);//添加到舞台 } function errorHandler(url) { gbx.log("2222222222222222") } } ss 是一个image, data 已经下载到了 在nat...
来源: Laya_社区 发布时间: 20180201
... tMap:TiledMap; public function LayaSample() { //初始化引擎 Laya.init(1136, 640,WebGL); //创建TiledMap实例 tMap = new TiledMap(); //创建Rectangle实例,视口区域 var viewRect:Rectangle = new Rectangle(0, 0, Browser.width, Browser.height); //创建TiledMap地图 tMap.createMap("res/Ti...
来源: Laya_社区 发布时间: 20180428
...8.180789+0800 layabox[3608:626634] =============onGLReady width=640,height=1136 2020-04-22 18:21:18.181206+0800 layabox[3608:626634] download thread num = 3 2020-04-22 18:21:18.583837+0800 layabox[3608:626634] createOpenALSource current num=10 2020-04-22 18:21:18.585036+0800 layabox[3608:626634] Sta...
来源: Laya_社区 发布时间: 20200422
... { public static uiView:any ={"type":"Scene","props":{"width":640,"height":1136},"compId":2,"child":[{"type":"Label","props":{"y":64,"x":214.5,"width":211,"text":"label","styleSkin":"comp/label.png","height":67},"compId":3}],"loadList":["comp/label.png"],"loadList3D":[]}; constructor(){ super()} cre...
来源: Laya_社区 发布时间: 20190625