• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 4,373 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0128 秒)

3841. laya.d3.physics.RaycastWheel_API3.0 [ 49%]

...ype parameter Constructor Property Method Accessor Object literal Variable Function Type alias Enumeration Interface

来源: Laya3.0_api 发布时间: 20231115

3842. as3分包,如果在ui编辑器IDE里导入了类,在分包里就会报错。这个怎么处理。 [ 49%]

... 微信小游戏编译报错 导微信小程序报错window.focus is not a function 怎么实现同一个工程内分包? 问题状态 最新活动: 2018-03-07 10:39 浏览: 1285 关注: 3 人 qian • 2018-01-20 16:50 麻烦问一下这个问题着急么 因为我也不是很清楚 需要周一...

来源: Laya_社区 发布时间: 20180119

3843. Texture2D.setPixels会导致图片质量变差了,获取原生的pixels没有进行改动。怎么回事呢? [ 49%]

...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

3844. 2d示例项目打包为微信小游戏报错,Cannot read property 'LESS' of null [ 49%]

...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

3845. layabox2.0,图集资源地址url缓存错误,导致texture恢复位图资源的时候,加载不到图片资源 [ 49%]

...图集的资源没有显示。 例如Scene.open("a"); Laya.timer.once(2000,function(){//2s后关闭场景 Scene.destroy("a"); Scene.gc(); Scene.open("a");//打开后,图集里的资源丢失,其他资源还在 }); 问题追踪: 我发现调用gc之后,位图资源回收掉了,但是texture...

来源: Laya_社区 发布时间: 20190109

3846. Unity插件导出模型 [ 49%]

...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

3847. 官方3D空间转2D空间的demo问题:当3D模型走出视野外后,也投影到屏幕了 [ 49%]

...影到屏幕了。只需改下面一行代码就可以复现这个bug。 function animate() { // _position.x = Math.sin(scaleDelta += 0.01); //删除这行代码 _position.z = scaleDelta += 0.01; //加上这行代码:Z轴平移直到移到视野之外 layaMonkey3D.transform.position = _position; c...

来源: Laya_社区 发布时间: 20170810

3848. HTTP以POST发送Byte字节流,服务器无法解析 [ 49%]

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

3849. laya.renders.VertexElementFormat_API3.0 [ 49%]

...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

3850. 请问粒子,shader,动画缓存的优化应该如何选择 [ 49%]

...ialDefine 材质宏定义值。          */         public function precompileShaderWithShaderDefine(publicDefine:int, spriteDefine:int, materialDefine:int):void {             withCompile(publicDefine, spriteDefine, materialDefine);         }   然后用这个接...

来源: Laya_社区 发布时间: 20180620