大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0128 秒)
Laya_社区(2475) Laya3.0_api(673) Laya2.0_api(357) laya_api(289) Laya2.0_文档(271) Laya_示例(157) Laya2.0_示例(116) Laya3.0_文档(35)
...ype parameter Constructor Property Method Accessor Object literal Variable Function Type alias Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
... 微信小游戏编译报错 导微信小程序报错window.focus is not a function 怎么实现同一个工程内分包? 问题状态 最新活动: 2018-03-07 10:39 浏览: 1285 关注: 3 人 qian • 2018-01-20 16:50 麻烦问一下这个问题着急么 因为我也不是很清楚 需要周一...
来源: Laya_社区 发布时间: 20180119
...mageSource=new Laya.Browser.window.Image(); var thisObj = this; var onload=function (){ var tex=new Laya.Texture2D(imageSource.width,imageSource.height,1,false,true); tex.wrapModeU=1; tex.wrapModeV=1; tex.loadImageSource(imageSource,true); tex._setCreateURL(url); var tex2=new Laya.Texture(tex); tex2...
来源: Laya_社区 发布时间: 20190923
...rty 'LESS' of null TypeError: Cannot read property 'LESS' of null at Function.value (http://127.0.0.1:43542/game/li ... :19438) at Object.value [as init] (http://127.0.0.1:43542/game/li ... 515524) at new Main (http://127.0.0.1:43542/game/js/bundle.js:267:90) LESS是LayaGL.insta...
来源: Laya_社区 发布时间: 20220616
...图集的资源没有显示。 例如Scene.open("a"); Laya.timer.once(2000,function(){//2s后关闭场景 Scene.destroy("a"); Scene.gc(); Scene.open("a");//打开后,图集里的资源丢失,其他资源还在 }); 问题追踪: 我发现调用gc之后,位图资源回收掉了,但是texture...
来源: Laya_社区 发布时间: 20190109
...load("res/LayaScene_Model_71008/Model_71008.lh", Laya.Handler.create(null, function(sprite:Laya.Sprite3D):void { scene.addChild(sprite); sprite.transform.localScale = new Laya.Vector3(0.2, 0.2, 0.2); })); 报错信息 Uncaught TypeError: Cannot read property 'transform' of undefined at Skin...
来源: Laya_社区 发布时间: 20200104
...影到屏幕了。只需改下面一行代码就可以复现这个bug。 function animate() { // _position.x = Math.sin(scaleDelta += 0.01); //删除这行代码 _position.z = scaleDelta += 0.01; //加上这行代码:Z轴平移直到移到视野之外 layaMonkey3D.transform.position = _position; c...
来源: Laya_社区 发布时间: 20170810
HTTP以POST发送Byte字节流,服务器无法解析 JS代码: function starConnection() { console.log("starConnection"); conn=new HttpRequest(); conn.once(Event.PROGRESS, this, onHttpRequestProgress); conn.once(Event.COMPLETE, this, onHttpRequestComplete); conn.once(Event.ERROR, this, onHttpRequ...
来源: Laya_社区 发布时间: 20160726
...gle Vector2 Vector3 Vector4 getElementInfos Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...ialDefine 材质宏定义值。 */ public function precompileShaderWithShaderDefine(publicDefine:int, spriteDefine:int, materialDefine:int):void { withCompile(publicDefine, spriteDefine, materialDefine); } 然后用这个接...
来源: Laya_社区 发布时间: 20180620