大约有 1,702 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0049 秒)
Laya_社区(1360) Laya3.0_api(81) Laya2.0_api(74) laya_api(69) Laya2.0_文档(43) Laya_示例(36) Laya2.0_示例(20) Laya3.0_文档(19)
...w Sprite(); mask.graphics.drawCircle(0,0,50,'#FF0000'); sp.mask=mask; Laya.timer.frameLoop(1,this,function():void { mask.x++; sp.repaint(); });小提示: LayaAir下,Mask是添加到了显示对象内部,也就是说,LayaAir 下的Mask坐标是相对于被遮罩 对象的,而并...
来源: Laya_社区 发布时间: 20170207
...pengl函数问题 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 Panel中的东西左右拖动好象有问题 laya1.7.9beta版 (此问题已经无效) 问题状态 最新活动: 2017-04-22 12:36 浏览: 4255 关注: 2 人 Monica • 2017-04-22 12:53 好的 a5738593...
来源: Laya_社区 发布时间: 20170422
... } onUpdate(): void { // 更新时间 this.dayTime = (this.dayTime + Laya.timer.delta / 1000) % this.dayDuration; const totalMinutes = Math.floor((this.getAdjustedProgress()) * 24 * 60); const hours = Math.floor(totalMinutes / 60); const minutes = totalMinutes % 60; const timeString = `${this.padNum...
来源: Laya3.0_文档 发布时间: 20251010
...边形的问题 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 Laya 安卓端 在服务端运行指令layadcc ./ 后进不去,提示 assetId is old 和 init dcc fail。然后过五六个小时后才不会报这个错。。才能进去 问题状态 最新活动: 2020-...
来源: Laya_社区 发布时间: 20201003
...neUtils.createByData(this, view); } this.onInit(); this.onShow(); Laya.timer.frameLoop(1, this, ()=>{ // console.info(this); this.onUpdate(); }); } /******************************************************************************** * Node ******************************************************...
来源: Laya_社区 发布时间: 20190222
...天所遇到的BUG: 在做动Tween画的情况下 执行某个容器.clearTimer(); laya.core.js:9184 Uncaught TypeError: Cannot read property '$_TID' of undefined 有时候容器清除掉全部子容器后调用子容器: laya.core.js:15215 Uncaught TypeError: Cannot read property '_tf' of null 粒...
来源: Laya_社区 发布时间: 20171021
...据的发送与接收的具体方法是怎样的? 关闭指定定时器timer 怎么让模型原地依照Y轴旋转到 我指定的角度? 角度 如何 转换成 Y轴旋转 的四元数? 微信小游戏Laya.LocalStorage.getItem数据丢失 问题状态 最新活动: 2018-01-31 19:06 浏览: 25...
来源: Laya_社区 发布时间: 20180104
...e3D.instantiate(box); scene.addChild(res1); scene.addChild(res2); Laya.timer.frameLoop(1, this, () => { res1.transform.localPositionX += 0.016; res2.transform.position.x += 0.016; console.log("本地坐标1:", res1.transform.localPosition); console.log("世界坐标1:", res1.transform.posit...
来源: Laya_社区 发布时间: 20190717
... this.box_rank.height; //alwaysChange = true不好用了 手动刷新 Laya.timer.loop(50, this, () => { var texture2D = new Laya.Texture2D(); texture2D.loadImageSource(Laya.Browser.window.sharedCanvas, true); var texture = new Laya.Texture(texture2D); //texture.bitmap.alwaysChange = true; this.ra...
来源: Laya_社区 发布时间: 20181001
...e)); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion); var _direction = directionLight.direction; Laya.Vector3.transformQ...
来源: Laya_社区 发布时间: 20180725