大约有 1,651 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0067 秒)
Laya_社区(1312) Laya3.0_api(81) Laya2.0_api(74) laya_api(69) Laya2.0_文档(40) Laya_示例(36) Laya2.0_示例(20) Laya3.0_文档(19)
...-only] 获得所属场景。 Sprite3D sky : Sky获取天空。BaseCamera timer : Timer时间控制器,默认为Laya.timer。Node transform : Transform3D[read-only] 获取精灵变换。 Sprite3D up : Vector3[read-only] 获取上向量。 BaseCamera url : String 获取资源的URL地址。 Spr...
来源: laya_api 发布时间: 20170929
...shadowNearPlane shadowNormalBias shadowResolution shadowStrength spotAngle timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChi...
来源: Laya3.0_api 发布时间: 20231115
... this.loadText.text = "资源加载中……"; // 测试加载效果 Laya.timer.loop(100, this, this.changeProgress); } //这里仅模拟加载演示效果 changeProgress(): void { this.progressBar.value += 0.05; //每次进度条的改变量 if (this.progressBar.value == 1) { this.loadText.text = "...
来源: Laya3.0_文档 发布时间: 20251010
...虎机,现在是用list来做的,目前转动的方法方法: Laya.timer.frameLoop循环执行一个方法,不知道有没更优雅的方法呀 //开始转动 function onBtnClick(){ Laya.timer.frameLoop(1, this, scroller); } //转动轮子方法 var time = 30, //默认转动间隔 ih = 0, //...
来源: Laya_社区 发布时间: 20180326
...,是会卡顿的,应该用requestAnimationFrame。 Laya本身带Laya.timer.loop和Laya.timer.frameLoop,前一个基于时间,后一个基于帧。按照楼主的需求,应该基于时间,但正因为loop是基于时间的,所以类似setInterval,虽然不会卡顿,但是会不流...
来源: Laya_社区 发布时间: 20170323
...estroyed displayedInStage hideFlags id is3D layer numChildren parent scene timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChi...
来源: Laya3.0_api 发布时间: 20231115
...ivate function startRound():void { Laya.timer.frameLoop(1, this, function():void{ camare.transform.rotate(_rotateC); }); } 这个并不是绕物体旋转的 2017-06-07 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20170607
...的比如: SoundManager.playMusic("audio/BackgroundPlaying3.mp3"); Laya.timer.once(3000,this,()=>{ SoundManager.playMusic("audio/table_music.mp3"); })没用,第一个又重新播放。请问是什么问题? 2017-08-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20170815
... 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: Laya.timer.frameLoop,计时器执行间隔为1帧,在计时器回调里执行即可,执行完成将frameLoop移除! 2017-08-10 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先...
来源: Laya_社区 发布时间: 20170810
...赞同来自: 可以参考下这个:http://layaair.ldc.layabox.com/demo/?Timer_CallLater 延迟执行的意思是,同一帧内只渲染一次 2017-03-23 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 zuojianfei 相关问题 骨骼动...
来源: Laya_社区 发布时间: 20170323