大约有 1,700 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0063 秒)
Laya_社区(1359) Laya3.0_api(81) Laya2.0_api(74) laya_api(69) Laya2.0_文档(43) Laya_示例(36) Laya2.0_示例(20) Laya3.0_文档(18)
...被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite viewport : ...
来源: laya_api 发布时间: 20170929
...ature.on(Event.STOPPED, this, completeHandler); play(); changeSkin(); Laya.timer.loop(1000, this, changeSkin); } function changeSkin() { mCurrSkinIndex++; if (mCurrSkinIndex >= mSkinList.length) { mCurrSkinIndex = 0; } mArmature.showSkinByName(mSkinList[mCurrSkinIndex]); } function completeHandler()...
来源: Laya_示例 发布时间: 20251209
...nterFrame事件,但是可以用frameLoop方法来替代 启动一个Laya.timer.frameLoop(1,this,onLoop).在frameLoop的回调里去监听Animation播放的是第几帧(index) 2016-10-12 0 0 分享 微博 QZONE 微信 unnamedzc 赞同来自: 那如何确定监听对象哪?是直接在回调...
来源: Laya_社区 发布时间: 20161011
...? 用removeself()方法删除了某个对象,但是预预期绑定的timer.loop事件还是在运行,应该如何彻底销毁掉一个对象? 2018-06-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_...
来源: Laya_社区 发布时间: 20180605
...],Handler.create(this,this.onLoadUi)); } __proto.onLoadUi=function(){ Laya.timer.loop(100,this,this.onLoaded); } __proto.onLoaded=function(){ if(this.isOpen){ return; } this.isOpen=true; var testView=new TestView(); Laya.stage.addChild(testView); Laya.timer.once(200,this,this.removeUi,[testView]); }...
来源: Laya_社区 发布时间: 20190517
...被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 Component top : Nu...
来源: laya_api 发布时间: 20170929
...被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 Component top : Nu...
来源: laya_api 发布时间: 20170929
...1 个回复 tudouhu 赞同来自: coder https://layaair.ldc.layabox.co ... Timer Laya.timer.frameLoop 2018-11-07 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 coder 相关问题 请问LayaAir中如何使图片以圆形的方式显示?...
来源: Laya_社区 发布时间: 20181107
... vrCamera.sky = skyBox; var rotation = new Laya.Vector3(0, 0.002, 0); Laya.timer.frameLoop(1, null, function() { earth.transform.rotate(rotation, true); });class VRScene1 { private rotation: Laya.Vector3; constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.sta...
来源: Laya_示例 发布时间: 20251209
...被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node transform : Matrix 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移效果。 矩阵更多信息请参考 Matrix Sprite viewport : ...
来源: laya_api 发布时间: 20170929