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

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

91. laya.d3.component.volume.batchvolume.BatchRender_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 发布时间: 20231115

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

93. laya.d3.component.hlod.HLOD_API3.0 [ 52%]

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

94. laya.d3.component.volume.batchvolume.StatiVertexMergeBatchRender_API3.0 [ 52%]

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

95. 3D变换 · LayaAir3.0文档 · LAYABOX [ 51%]

...果想实现动图2-1所示的效果,即绕Y轴进行旋转动画,则每帧需要增加localRotationEulerY的值,示例代码如下: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Sprite3D }) public cube: Laya.Sprite3D; //...

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

96. laya.d3.physics.constraints.ConfigurableConstraint_API3.0 [ 51%]

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

97. WebGl下 graphics画出东西后 移动sprite 不起效果 [ 51%]

...博 QZONE 微信 devilsome 赞同来自: 你需要调用graphics.clear   每帧移动都需要clear,draw 2017-07-12 0 0 分享 微博 QZONE 微信 a1284964657 赞同来自: 最新测试出来的效果是  只要设置了 sprite的scale  在移动sprite  sprite.graphics的坐标不会变的。 ...

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

98. 场景切换造成的FPS下降的优化思路请教 [ 51%]

...新上传图片,但是顶点这些信息还是会上传给显卡,其实每帧都在上传这部分信息   2017-03-07 1 0 分享 微博 QZONE 微信 cuixueying 赞同来自: 移除一个界面,需要同时移除自身removeSelf,事件removeEvent,子对象removeChildren,其中removeEvent...

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

99. laya.d3.core.ui3d.UI3D_API3.0 [ 50%]

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

100. setBounds()后无法碰撞 [ 49%]

...游戏需要很多image、骨骼、动画之间的相互碰撞,而且是每帧检测大量碰撞,且碰撞的的物体,比如骨骼是会平凡的变大变小,为了不影响性能,加上rectangle1改变大小很简单,所以选择rectangle加intersects的方式,很适合。 demo后,...

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