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

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

241. 使用原生的立方体,为啥drawcall数等于立方体的个数 [ 67%]

...要简单模型10个面以内的。不然的话都是要增加drawcall的 Render类里有判断当前游戏运行的是哪个模式   2018-01-31 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 ggg333 相关问题 Layabox 2.0 bate5 运行...

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

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

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

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. 如何避开iPhoneX的刘海? [ 67%]

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

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

246. 关于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

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

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

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

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

249. 微信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

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