大约有 2,275 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0072 秒)
Laya_社区(1671) Laya2.0_文档(140) Laya3.0_api(124) Laya2.0_api(97) Laya3.0_文档(77) laya_api(69) Laya_示例(52) Laya2.0_示例(45)
...Handler(this, onChange); Laya.stage.addChild(progressBar); Laya.timer.loop(100, this, changeValue); } function changeValue() { if (progressBar.value >= 1) progressBar.value = 0; progressBar.value += 0.05; } function onChange(value) { console.log("进度:" + Math.floor(value * 100) + "%"); } })();m...
来源: Laya_示例 发布时间: 20251209
...动态合成大图并自己管理,有没有办法? 我自己尝试把1.0引擎中的 Atlaser相关的源码翻译到ts中, 但最终卡在gl.texSubImage2D这个webgl原生的方法上,似乎之前的图片纹理是用加载然后画到canvas上的,2.0改为了Texture2D。 2019-06-13 添加...
来源: Laya_社区 发布时间: 20190613
... var keyV = 'x'; Laya.Tween.to(guideArrow, { keyV: guideArrow[keyV] + 100 }, 1000, Laya.Ease.linearIn, Laya.Handler.create(this, handMove)); 这样写是不行,请问一下想要实现这样的方法, 应该怎么写呢 ? 2018-08-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20180813
... "right": 居右对齐显示。 Label alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值...
来源: Laya2.0_api 发布时间: 20190513
...sform.position, { x: position.x, y: position.y, z: position.z }, 2000); 2021-02-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 小小泽 จุ บ 赞同来自: 对的这里有Laya Tween 的用法 https://la...
来源: Laya_社区 发布时间: 20210202
Laya1.7.20如何加载3d资源? 按照1.x技术文档写还是这样啊 是1.7.20有什么特殊的改动吗 附件 : --> 2019-05-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 bpmf_d 赞同来自: https://l...
来源: Laya_社区 发布时间: 20190515
... setStartTime to clear clearAll from to Properties repeat repeat: number = 1 Defined in laya/utils/Tween.ts:38 重播次数,如果repeat=0,则表示无限循环播放 update update: Handler Defined in laya/utils/Tween.ts:36 更新回调,缓动数值发生变化时,回调变化的值 Accessor...
来源: Laya3.0_api 发布时间: 20231115
...下有没有官方的API!!!,X的正向是逆时针就很烦! 2018-01-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 qian 赞同来自: http://layaair.ldc.layabox.com/api/?category=Core&class=laya....
来源: Laya_社区 发布时间: 20180103
...度 var roleAni = new Laya.Animation(); roleAni.loadImages( this.aniUrls( v1, v2, tip, frames ) ).play(); roleAni.pos(x,y); this.root.addChild( roleAni ); roleAni.pivotY = roleAni.getBounds().height; console.log("---> ", roleAni.getBounds() ); 打印为 ---> Rectangle {x: 0, y: 0, width: 0, h...
来源: Laya_社区 发布时间: 20170824
...微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 小小泽 จุ บ 赞同来自: 好的,我们看看,但是现在1.x版本不是我们的主流版本可能会时间久点,建议你用2.X的试试 2020-08-24 0 0 分享 微博 QZONE 微信 为什么被折...
来源: Laya_社区 发布时间: 20200823