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

大约有 784 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0050 秒)

241. Image偶尔显示不了 [ 67%]

...itmap._sp._bit ==70, bottom._bitmap.source == "undefined " bottom._bitmap._render == f _renderEmpty{};   其他正常显示的button内存如下: bottom._bit = 70 bottom._bitmap._sp._bit ==70 或 bottom._bitmap._sp._bit ==214, bottom._bitmap.source == Texture{...} bottom._bitmap._render == f _r...

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

242. unity导出的场景不显示实时阴影 [ 67%]

...D(Laya.PrimitiveMesh.createPlane(10, 10))) as Laya.MeshSprite3D; plane.meshRenderer.material = Laya.loader.getRes('sences/Assets/Scenes/TestPro/Materials/Dana.lmat'); plane.meshRenderer.receiveShadow = true; plane.transform.translate(new Laya.Vector3(0, 0.1, 0), false);  let test: Laya.MeshSprite3D...

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

243. 如何避开iPhoneX的刘海? [ 67%]

...留黑边,引擎有没有提供快捷的方法? 我试过直接设置Render._mainCanvas.source.style.top但是游戏的下方会超出屏幕 2018-05-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Apple 赞...

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

244. matter.js的长度宽度什么的和laya的x,y,width,height就不在一个体系,怎么玩? [ 67%]

...和laya的x,y,width,height就不在一个体系,怎么玩? 我用 render: { sprite: { texture: "../src/view/0.png", } }, 位置都不一样 2018-01-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aa...

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

245. 关于graphics._saveToCmd的问题 [ 67%]

...ite = args[0];         //sp.graphics.clear();         var ctx=Laya.Render._context.ctx;         ctx.fillStyle="#FF0000";         ctx.fillRect(0,0,300,150);         ctx.clearRect(20,20,100,50);     } } new GameMain(); Laya.Stat.show(0, 0);//TODO 显示帧率 2017-03-17 0 2 分...

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

246. Laya定位和事件绑定 [ 67%]

...到事件的准确位置,则需要对Canvas进行初始化定位。 Laya.Render._mainCanvas.source.style.left = "190px";  Laya.Render._mainCanvas.source.style.top = "90px";   因为我们的页面布局都是使用DIV+CSS布局的,而这种方法需要使用JS来动态计算Canvas尺寸、坐...

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

247. LAYA IDE 设置语言包路径后卡死 [ 66%]

...esources/app/out/vs/layaEditor/h5/laya.js:8978:14)     at Stage.__proto.render (file:///D:/LayaAirIDE/resources/app/out/vs/layaEditor/h5/laya.js:59101:16)     at Stage.__proto.render (file:///D:/LayaAirIDE/resources/app/out/vs/layaEditor/h5/layabuilder.max.js:17102:44)     at Stage.__proto....

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

248. 微信web页面贴图无法加载 [ 66%]

...: glGenerateMipmap: Can not generate mips [.Offscreen-For-WebGL-0x61872800]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering. WebGL: too many errors, no more errors will be reported to the console for this context. 但...

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

249. Laya_API3.0 [ 65%]

...isWXPosMsg loader stage timer Methods addWasmModule alertGlobalError createRender enableDebugPanel init Properties Static isWXOpenDataContext isWXOpenDataContext: boolean = false Defined in Laya.ts:64 是否是微信小游戏子域,默认为false Static isWXPosMsg isWXPosMsg: boolean = false Defin...

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

250. List属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 65%]

...,进入List 内部,设置List 列表渲染项的属性 name 的值为 render。 **注意:此处列表渲染项属性 name 的值必须为 render。** 方法2:双击List 对象,进入List 内部,设置List 列表渲染项的属性 renderType的值为 render。 ​ ![图片0.png](img/3.png...

来源: Laya2.0_文档 发布时间: 20210714