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

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

41. 关于2D粒子的渲染问题 [ 67%]

...var j:int, offset:int;     for (j = 0, offset = 4; j < 3; j++)     _vertices[startIndex + i * _floatCountPerVertex + offset + j] = particleData.position[j];     .........   我的问题是,_vertices里的数据是在哪里被使用的,搜遍了所有的引用和文件,都没找到。...

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

42. CommandBuffer使用文档(TypeScript-3D基础(TS)-LayaAir3D之高级应用) [ 67%]

...ScreenTriangle(downRenderTexture,blurTexture,null,shader,shaderValue,1); //vertical blur buf.blitScreenTriangle(blurTexture,downRenderTexture,null,shader,shaderValue,2); //Horizontal blur buf.blitScreenTriangle(downRenderTexture,blurTexture,null,shader,shaderValue,1); //vertical blur buf.blitScreenT...

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

43. OpenGL报错 [ 67%]

...ROR :GL_INVALID_OPERATION : glDrawElements: attempt to access out of range vertices in attribute 0 [file:///E:/Laya_APP_Hall/Laya_Chess_App/bin/index.html],然后界面会闪烁黑一下,研究好久都找不出什么问题,希望官方提供一下思路(公司项目,暂时不能提供Demo...

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

44. 字体切片组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 65%]

...容排列方向,共有两个选项。horizontal:水平方向排列,vertical:垂直方向排列。切换后以下两个属性也会随之切换 水平间距 spacex X方向项间隔,以像素为单位。仅在布局方向开启水平方向是有效。 垂直间距 spacey Y方向项间隔,...

来源: Laya3.0_文档 发布时间: 20251010

45. UI-FontClip [ 65%]

...lipNum.value = "0123456789"; clipnum1.pos(150, 200); clipnum1.direction = "vertical"; clipnum1.sheet = "0123456789"; clipnum1.value = "223388"; fontClip.pos(240, 300); fontClip.sheet = "鼠牛虎兔龙蛇马羊 猴鸡狗猪年快乐"; fontClip.value = "猪年快乐"; fontClip.spaceY = 10; TestFontCl...

来源: Laya2.0_示例 发布时间: 20260106

46. 设置自动竖屏后 打包APP 安装到手机后显示黑屏 不设置自动竖屏又正常 [ 65%]

...ge.ALIGN_CENTER;             Laya.stage.screenMode = Stage.SCREEN_VERTICAL;             //加载游戏页面资源(如果界面资源太多太大[超过50k],建议开始页面单独建立文件夹打包)             Laya.loader.load("res/atlas/gameUI.atlas",Handler.create(...

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

47. LayaRender问题 Matter在LayaRender下出现不正常问题 [ 64%]

...r.World, Bodies = Matter.Bodies, Body = Matter.Body, Pairs = Matter.Pairs, Vertices = Matter.Vertices, Constraint = Matter.Constraint, Composite = Matter.Composite, Composites = Matter.Composites, Events = Matter.Events, Query = Matter.Query, Vector = Matter.Vector; var LayaRender = window.LayaRende...

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

48. 真机上随机报错 [ 64%]

...om/libs/laya.d3.js:24049: RangeError: Array buffer allocation failed this._vertices = new Float32Array(this._floatCountPerVertex * lastVBVertexCount); ^^ RangeError: Array buffer allocation failed at new ArrayBuffer (<anonymous>) at new Float32Array (<anonymous>) at ShurikenParticleSyste...

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

49. 列表组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 61%]

...y = data; // 设置List属性效果 this.list.scrollType = Laya.ScrollType.Vertical;//设置列表使用垂直滚动 this.list.vScrollBarSkin = "";//隐藏列表的滚动条皮肤 this.list.elasticEnabled = true;//设置橡皮筋为ture this.list.scrollBar.elasticBackTime = 200;//设置橡皮筋回...

来源: Laya3.0_文档 发布时间: 20251010

50. LayaAir下加载阿拉伯TTF字体,手机上显示时左右顺序反了。 [ 61%]

...tage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.screenMode = Stage.SCREEN_VERTICAL; //Stage.SCREEN_HORIZONTAL,Stage.SCREEN_VERTICAL Laya.stage.bgColor = "#0e277a"; Laya.stage.frameRate = "fast"; Config.atlasEnable = true;   Text.CharacterCache = false; Text.setTextRightToLeft(); //设置文字排...

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