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

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

31. 在开启webgl模式下,每次运行texture类getPixels方法内存都会增加 [ 80%]

...vate img: Laya.Image; constructor() { //Laya.init(400, 640, Laya.WebGL); //设置舞台背景色 Laya.stage.bgColor = "#ffffff" Laya.Stat.show() //资源路径 this.Res = "test.png"; this.img = new Laya.Image(); this.img.pos(200, 200) //获取图片资源,绘制到画布 this.img.skin = this.Res /...

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

32. 十几秒以后动画渲染时间变长,帧率变慢,是怎么回事? [ 79%]

... this._doll_area.w = doll_area.w; this._doll_area.h = doll_area.h; }  // 设置容器宽高 this.width = Math.max( this._blood_area.w, this._demon_area.w, this._doll_area.w );  this.height = this._blood_area.h + this._demon_area.h + this._doll_area.h;  this.graphics.drawRect( 0, 0, this.width,...

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

33. 相对值和固定值并存,理解不来,脑壳疼 [ 79%]

相对值和固定值并存,理解不来,脑壳疼 imgae设置相对宽高后,选中image对象,出现9点手柄,选4个角一个手柄随便拉一拉,就出现固定值,但固定值和相对值是不等   view如果不设置固定width和height,相对宽高反而不起作用了..   属...

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

34. 无法截屏1.714 [ 76%]

... 发布到vivo平台后,龙骨动画无法显示 将listscrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 使用getChildByName()无法得到子节点对象 3D模型无法修改scale? 问题状态 最新活动: 2018-02-26 10:14 浏览: 1029 ...

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

35. list ,增加item ,我想在末尾增加,但是每次都给我翻倍增加,如何解决 [ 75%]

...啊 关于Dialog遮罩层移除解决问题说明 将listscrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 List滑动条会引起单元格上按钮点击后多次触发...

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

36. laya.ui.List [ 74%]

...内容变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...

来源: laya_api 发布时间: 20170929

37. laya.ui.List [ 74%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent  array : Array 列表数据源。...

来源: Laya2.0_api 发布时间: 20190513

38. [LayaAirIDE3]3.3.1 UI点击区域异常,mouseThrough属性失效 [ 73%]

...,这个问题我这边排查情况如下: 1、复现demo逻辑中,先设置了node2也就是t2预制体实例mouse Through为true,而后设置了node2子节点0(GWidget实例)纹理texture为new Laya.Texture。设置纹理之后,mouseThrough设置就无效了,可以参考...

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

39. [LayaAir3]OPPO小游戏下图片地址无法加载 [ 73%]

...法正常作用问题-解决办法 合并小图片 将listscrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 点击代码编辑模器 就提示无法打开代码编辑器 请配置 这个怎么解决? laya3.0 VideoNode视频遮罩无法播放问...

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

40. [LayaAir2]在使用videoDom创建视频元素后iPad跟iPhone中位置不一样 [ 71%]

...采用另一种方式来实现,这样可以不用考虑到位置适配设置,参考代码片段:/** * example:videodom 使用Laya.HtmlVideo播放视频 * @ author:xs * @ data: 2024-03-05 16:20 */ export default class VideoDom { htmlvideo:Laya.HtmlVideo; constructor() { Laya.stage.on(Laya.Ev...

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