大约有 404 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0042 秒)
Laya_社区(355) Laya2.0_文档(29) Laya3.0_文档(9) Laya_示例(4) Laya2.0_示例(4) laya_api(1) Laya3.0_api(1) Laya2.0_api(1)
...sform: matrix(1, 0, 0, 1, 0, 0);"></canvas> var canvas:any = document.getElementById("layaCanvas"); var ctx = canvas.getContext("2d"); ctx.fillStyle = "red"; ctx.fillRect(120, 10, 150, 150); console.log("draw complete"); 换成你说的canvas还...
来源: Laya_社区 发布时间: 20170502
...Cannot read property 'load' of null 用微信开发者调试的时候出现document.createTextNode is not a function at api readFile fail callback function LayaAir新建3D示例项目,在as开发模式下,运行报错 TypeError: Vector3 is not a constructor ide导出ui时,UI代码显示不正...
来源: Laya_社区 发布时间: 20180117
...igame/libs/laya.core.js:0:0 报错信息截图: file:///C:/Users/user/Documents/Tencent%20Files/2895680850/Image/C2C/QNI%7D53)930_%7D85BZ[VA1%25~V.png 这个问题困扰了我一天,在vivo小游戏中加载不出来主场景。已经按照社区提示修改为分离模式,并更新到最...
来源: Laya_社区 发布时间: 20191025
...来用private function getGet():Object { var url:String = __JS__('window.document.location.href.toString()'); var u:* = url.split("?"); if (u[1] is String) { u = u[1].split("&"); var gets:Object = {}; for (var i:String in u) { var j:String = u[i].split("="); gets[j[0]] = j[1]; } return gets; } r...
来源: Laya_社区 发布时间: 20160110
...场景 physics3D is not a function 用微信开发者调试的时候出现document.createTextNode is not a function api readFile success callback function undefined 打包小游戏后在开发者工具中报错 CharRender_Canvas.ctx.fillAndStrokeText is not a function Uncaught TypeError: tex.once is...
来源: Laya_社区 发布时间: 20151202
...面声明的Java的类名匹配. var a=false; // 注册手指按下事件 document.addEventListener("touchstart",function(e){ a=!a;// 实现奇数次打开 偶数次关闭 // b、调用静态函数openlight 参数为a Test.call("openlight",a); }); 2017-12-25 0 0 分享 微博 QZONE 微信 为什么...
来源: Laya_社区 发布时间: 20171224
...竖屏 Laya.stage.screenMode = Stage.SCREEN_VERTICAL; __JS__('var canvas = document.getElementById("layaCanvas")'); __JS__('var url = "ws://xxx.xxx.xx.xx:xxxx"'); __JS__('var player = new JSMpeg.Player(url, {canvas: canvas})'); WebGL下一直闪屏,不使用WebGL没有任何显示画面 附件 :...
来源: Laya_社区 发布时间: 20171115
...DEMO as3中,调用原生js的的时候,如何传递原生JS要用到的document.getElementById的ID过去? index.html没引用到的lib文件夹下的js可以全部删除吗? 3D模型贴图动作加载后,不使用了内存怎么释放?需要用到ResourceManager吗?有没有例子? ...
来源: Laya_社区 发布时间: 20250730
...ipt Language="JavaScript"> <Script Language="JavaScript"> document.getElementById('WebViewport').setAttribute('content', 'width=100%,initial-scale=' + 1 / devicePixelRatio + ',target-densitydpi=device-dpi,minimum-scale=0.1,maximum-scale=9,user-scalable=0'); </script> inde...
来源: Laya_社区 发布时间: 20180201
...场景 physics3D is not a function 用微信开发者调试的时候出现document.createTextNode is not a function api readFile success callback function undefined 打包小游戏后在开发者工具中报错 CharRender_Canvas.ctx.fillAndStrokeText is not a function Uncaught TypeError: tex.once is...
来源: Laya_社区 发布时间: 20151204