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

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

2361. laya.d3.core.scene.bvhscenerendermanager.BVHSceneRenderManager_API3.0 [ 48%]

...ger.ts:14 实例化 Parameters Default value bvhConfig: BVHSpatialConfig = null Returns BVHSceneRenderManager Accessors bvhSpatial get bvhSpatial(): BVHRenderSpatial Defined in laya/d3/core/scene/BVHSceneRenderManager/BVHSceneRenderManager.ts:39 Returns BVHRenderSpatial list get list(): SingletonLis...

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

2362. Laya2.0的wx.d.ts中createInnerAudioContext函数与微信小游戏官方给的方法返回值不一致 [ 48%]

...交 1 个回复 Laya_Aaron 赞同来自: 收到反馈,这个返回值为null 并不是bug,这个方法设计初衷是为了让laya之中能对微信的接口进行代码提示,在laya中是没有效果的,但是到微信小游戏中,是会走微信小游戏接口的,是会返回实例的...

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

2363. [LayaAir3]3.3正式版在代码中对继承自UIComponent的UI组件设置disabled属性为报错 [ 48%]

... WebGLRenderContext2D.js:137 Uncaught TypeError: Cannot read properties of null (reading '0')     at WebglRenderContext2D.setRenderTarget (WebGLRenderContext2D.js:137:71)     at WebGLSetRendertarget2DCMD.apply (WebGL2DRenderCMD.js:18:17)     at WebGLRenderContext2D.js:159:21     at Array.for...

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

2364. 我想把引擎源码编成ts版,有几个问题 [ 48%]

...用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 如何修改物理引擎中的图层 as3 ,LayaAir下调试matter.js物理引擎出错。 问题状态 最新活动: 2018-01-04 17:41 浏览: 1412 关注: 3 人 liugs • 2018-01-04 18:26 多谢 liugs • 2...

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

2365. 计时器-延迟调用 [ 48%]

...a.timer.callLater(this, onCallLater); } } private function onCallLater(e:*=null):void { trace("onCallLater triggered"); var text:Text = new Text(); text.font = "SimHei"; text.fontSize = 30; text.color = "#FFFFFF"; text.text = "打开控制台可见该函数仅触发了一次"; text.size(Laya.stage.w...

来源: Laya_示例 发布时间: 20260303

2366. u3d导出的碰撞器,为什么相对速度稍微快点就不能检测到碰撞触发trigger回调,而在laya里用代码添加触发器相对速度再快也可以触发回调 [ 48%]

...用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 问题状态 最新活动: 2018-10-25 10:20 浏览: 1675 关注: 2 人 me_more_cool • 2018-10-25 11:10 我在ls文件里看到导出的碰撞器大小位置参数和u3d的是一样的 Laya_Xq • 2018-10...

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

2367. 自定义渲染后,customRender里设置uniform值在ui节点下不生效 [ 48%]

...      context.ctx.setIBVB(x, y,this.iBuffer, this.vBuffer,this.iNum,null,this.shader,this.shaderValue, 0, 0);         }   2.我将自定义的精灵类添加到ui根节点下,能达到我想要的效果gl.uniform1f(u_lightTime, this.timerCount)生效 3.我将自定义的精灵类添...

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

2368. sprite.drawToCanvas绘制纹理无法释放内存资源 [ 48%]

...de public function destroy():void { _ctx && _ctx.destroy(); _ctx = null; + super.destroy(); } public function get context():Context {即  WebGL.as 注释掉265,266 WebGLCanvas.as 在 destroy()函数的最后加 super.destroy(); 2018-06-20 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来...

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

2369. 滤镜-模糊滤镜 [ 48%]

...ePath, Handler.create(this, createApe)); } private function createApe(_e:*=null):void { var ape:Sprite = new Sprite(); ape.loadImage(apePath); ape.x = (Laya.stage.width - ape.width) / 2; ape.y = (Laya.stage.height - ape.height) / 2; Laya.stage.addChild(ape); applayFilter(ape); } private function app...

来源: Laya_示例 发布时间: 20260303

2370. LayaAir IDE 2.2.0beta4 动画挂点(骨骼挂点)无效 [ 48%]

... Laya.Sprite3D) { //递归调用 let index = 0; let child: Laya.Sprite3D = null; while (true) { child = root.getChildAt(index) as Laya.Sprite3D; if (!child) break; if (child.name == nodeName) { child.addChild(Sprite3D); Sprite3D.transform.localPosition = new Laya.Vector3(); return true; } else { if ...

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