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

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

151. 设置锚点无效,图片更新不及时,UI修改layaMaxUI.ts不更新, 编辑器缓存小问题很多 [ 54%]

...g     我个人觉得 其实通过事件来驱动 不如直接用update 每帧去做状态检测,虽然会增加cpu开销 却能减少缓存等问题, 而且现在 电脑配置都挺高的。 附件 : --> 2022-02-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

152. laya.ui.Widget_API3.0 [ 54%]

...ed from Component.onLateUpdate Defined in laya/components/Component.ts:297 每帧更新时执行,在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in la...

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

153. ios下微信小游戏3D物理特别卡,安卓下就很流畅 [ 54%]

...po R10手机50多帧。  已确认不是渲染卡的问题, 试验了下每帧做一百万次简单的累加,(没有任何UI和其他逻辑)安卓下满帧,ios只有二十多帧。  ios的webgl性能为什么会差这么多,有没有什么办法能取巧解决下 2019-05-13 添加评...

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

154. 2.0UI的生命周期感觉有问题 [ 54%]

...到有卡顿,但是改用frameLoop就解决了,感觉onUpdate并没有每帧都调用 2019-01-06 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 150*****705 相关问题 HttpRequest感觉没有发成功 斜...

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

155. ide创建的.ani文件中的属性pivotX和pivotY,代码中animation实例中要怎么获取 [ 54%]

...: 直接通过ani实例的pivotx或y获得值看下,如果你的ani动画每帧中心点都不一样的话,节后再回复你具体的方法。 2018-02-13 0 0 分享 微博 QZONE 微信 coolxiaochuan 赞同来自: ani实例的pivotX与帧中的pivotX是不一样的,我需要帧中的pivotX和p...

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

156. 2d物理引擎onTriggerStay不执行的bug [ 54%]

...Stay 只是预留了接口,并没有真的去实现。 2) onTriggerStay 每帧都会触发,在里面写逻辑特别消耗性能,并不建议使用 3) 我基于 2.8.0beta3 实现了一版,你可以试一下,但我们不会合并到引擎中去。 laya.physics_.zip 2020-09-21 0 2 分享 微...

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

157. laya.d3.component.volume.Volume_API3.0 [ 54%]

...ed from Component.onLateUpdate Defined in laya/components/Component.ts:297 每帧更新时执行,在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in la...

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

158. Laya.HTMLDivElement 做跑马灯效果,不停报“cache bitmap size larger than 2048,cache ignored [ 53%]

...18-11-22 21:32 如图,就一个简单的view, 加了一个mask, 代码里每帧更新位置向左移动,然后就一直打印cache bitmap size larger than 2048,cache ignored netneat • 2017-12-04 16:43 没超过2048好不,只有Laya.HTMLDivElement 在动,可以下载代码看看

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

159. laya.map.TileTexSet_API3.0 [ 53%]

...onTimeArray: any[] = null Defined in laya/map/TileTexSet.ts:29 当前动画每帧的时间间隔 gid gid: number = -1 Defined in laya/map/TileTexSet.ts:17 唯一标识 isAnimation isAnimation: boolean = false Defined in laya/map/TileTexSet.ts:33 true表示当前纹理,是一组动画,false表示...

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

160. laya.d3.physicscannon.CannonPhysicsTriggerComponent_API3.0 [ 53%]

...ed from Component.onLateUpdate Defined in laya/components/Component.ts:297 每帧更新时执行,在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in la...

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