大约有 813 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0076 秒)
Laya_社区(476) Laya3.0_api(132) Laya2.0_api(81) laya_api(63) Laya2.0_文档(28) Laya3.0_文档(17) Laya_示例(13) Laya2.0_示例(3)
...留黑边,引擎有没有提供快捷的方法? 我试过直接设置Render._mainCanvas.source.style.top但是游戏的下方会超出屏幕 2018-05-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Apple 赞...
来源: Laya_社区 发布时间: 20180504
...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
...览3. Module Time(模块耗时)3.1 Frame Time(T_Frame_Time)3.2 All Render 3D(T_AllRender3D)3.3 Depth Pass(T_DepthPass)3.4 Shadow Pass(T_ShadowPass)3.5 3D Main Pass(T_3DMainPass)3.6 3D Context Pre(T_3DContextPre)3.7 3D Context Render(T_3DContextRender)3.8 3D Main Pass ...
来源: Laya3.0_文档 发布时间: 20260128
...和laya的x,y,width,height就不在一个体系,怎么玩? 我用 render: { sprite: { texture: "../src/view/0.png", } }, 位置都不一样 2018-01-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aa...
来源: Laya_社区 发布时间: 20180110
...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
...到事件的准确位置,则需要对Canvas进行初始化定位。 Laya.Render._mainCanvas.source.style.left = "190px"; Laya.Render._mainCanvas.source.style.top = "90px"; 因为我们的页面布局都是使用DIV+CSS布局的,而这种方法需要使用JS来动态计算Canvas尺寸、坐...
来源: Laya_社区 发布时间: 20170927
...错误 Uncaught TypeError: Cannot read properties of undefined (reading 'renderType') at WebRender2DPass.batch (WebRender2DPass.js:236:47) at WebRender2DPass.fowardRender (WebRender2DPass.js:151:64) at WebRender2DPassManager.apply (WebRender2DPass.js:382:22) at Render2DProcessor.apply (Render2DProce...
来源: Laya_社区 发布时间: 20250826
...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
...: 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
... false; /**@private */ public function _loop():Boolean { if(!isStopLoop) { render(Render.context, 0, 0); } return true; } 2017-10-11 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 yi979070830 相关问题 写个捕鱼游戏练练手 ...
来源: Laya_社区 发布时间: 20171011