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

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

211. laya.d3.physics.PhysicsCollider_API3.0 [ 48%]

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

212. laya.d3.component.Animator_API3.0 [ 48%]

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

213. Node.ts 节点销毁之后为什么要注释掉 timer 的清理操作。 [ 48%]

...9 赞同来自: 因为timer有一个自管理的update函数,这个函数每帧执行,会自动检测handler是否可回收,当可回收时会自动回收   2022-02-25 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 1645703437用...

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

214. laya.d3.core.light.DirectionLightCom_API3.0 [ 48%]

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

215. laya.utils.Stat [ 48%]

... 后才会有值,默认为0/0/0。从左到右数值的意义分别为:每帧重绘的画布数量 / 缓存类型为"normal"类型的画布数量 / 缓存类型为"bitmap"类型的画布数量。 Public Properties PropertyDefined By  canvasBitmap : int = 0[static] 画布 canvas 使用位图...

来源: laya_api 发布时间: 20170929

216. laya.net.Loader [ 47%]

... : *[read-only] 返回的数据。Loader  maxTimeOut : int = 100[static] 每帧加载完成回调使用的最大超时时间,如果超时,则下帧再处理,防止帧卡顿。Loader  parserMap : Object[static] 资源解析函数对应表,用来扩展更多类型的资源加载解析。Lo...

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

217. 微信小游戏中开放域(子域)只支持使用 2D 渲染模式,导致主域(用Laya.WebGL模式渲染)卡顿,如何解决? [ 47%]

...到了滤镜效果(把滤镜效果注释还是会卡顿). 游戏逻辑是每帧(Laya.timer.frameLoop)变化. 游戏中(主域)有类似飞机跑道的效果, 主要是感觉跑道非常卡! speed=1的时候还好一些, 一旦速度增加, 就会卡顿. 版本号: 1.7.20.1beta 语言: JS 2018-08...

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

218. [LayaAir3]在动画转换不勾选ExitByTime的情况下单次动画播放完成后不再检测参数变化 [ 47%]

...放完会循环在最后一帧的内容的,这时候动画的update是在每帧更新的,勾选的时候动画播放完毕就在动画的update里面判断return掉了。 Heured • 2024-01-11 11:28 @Laya_Fred:看了一下你说的sleep相关的逻辑,影响不到我说的问题,我给的dem...

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

219. laya.d3.core.light.AreaLightCom_API3.0 [ 47%]

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

220. 关于微信小游戏的开放数据域,请问如何将开放数据域的canvas绘制到layaair的image上? [ 47%]

... // rankTexture.bitmap.alwaysChange = true;//小游戏使用,非常费,每帧刷新 // console.log(rankTexture); // var img = wxMgr.getOpenDataCanvas().toDataURL("image/png"); // this.view.image_rank_list.source = img; // var canvas_2d_ctx = canvas.getContext('2d') // canvas_2d_ctx.drawImage(wxM...

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