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

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

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

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

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

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

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

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

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

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

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

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

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

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

167. [LayaAirIDE3]Laya3.3tween动画在update函数里修改属性值,下一帧会被重新修正 [ 53%]

...享 微博 QZONE 微信 china 赞同来自: 只要 Tween 还在运行,它每帧都会用自己记录的起点和目标值来计算并赋值,不会关心对象当前的真实值。这就是为什么你在 1 秒后改成 90,下一帧又被“拉回”的原因。 如果你想在 1 秒时改值...

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

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

169. 在网页设定区域内播放video。 [ 53%]

...本身就是把视频流显示在画布上。即使你获取了视频流的每帧图片,你也只不过做了和Video相同的事情。而在Safari上,依旧是全屏播放。 cuixueying • 2016-10-14 16:51 最好的方式是DOM元素<video>。 如果舞台使用了特殊的缩放模式...

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

170. laya.d3.physicscannon.CannonPhysicsCollider_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