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

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

1601. LayaAir引擎与原生Flash的差异文档说明! [ 44%]

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

1602. List滚动条问题 [ 44%]

...pengl函数问题 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 Panel中的东西左右拖动好象有问题 laya1.7.9beta版 (此问题已经无效) 问题状态 最新活动: 2017-04-22 12:36 浏览: 4255 关注: 2 人 Monica • 2017-04-22 12:53 好的 a5738593...

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

1603. 2D方向光 · LayaAir3.3 · 引擎文档 · LAYABOX [ 44%]

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

1604. 求问为什么找不到Laya这个问题? [ 44%]

...边形的问题 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 Laya 安卓端 在服务端运行指令layadcc ./ 后进不去,提示 assetId is old 和 init dcc fail。然后过五六个小时后才不会报这个错。。才能进去 问题状态 最新活动: 2020-...

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

1605. LayaBox进阶之UI管理类 [ 44%]

...neUtils.createByData(this, view); }  this.onInit(); this.onShow();  Laya.timer.frameLoop(1, this, ()=>{ // console.info(this); this.onUpdate(); }); }  /******************************************************************************** * Node ******************************************************...

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

1606. 建议给Tween增加一些功能, 例如无限循环 , 增加一些回调函数 [ 44%]

...天所遇到的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

1607. layacmd atlas怎么指定输出的数据后缀为json? [ 44%]

...据的发送与接收的具体方法是怎样的? 关闭指定定时器timer 怎么让模型原地依照Y轴旋转到 我指定的角度? 角度 如何 转换成 Y轴旋转 的四元数? 微信小游戏Laya.LocalStorage.getItem数据丢失 问题状态 最新活动: 2018-01-31 19:06 浏览: 25...

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

1608. 修改position与修改localPosition结果不一致(同处于3d场景下的两个节点) [ 44%]

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

1609. LayaAir 2.0 微信排行榜 离屏画布不能直接附加到组件纹理上 [ 44%]

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

1610. discard property,please use transform's property instead [ 43%]

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