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

大约有 469 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0042 秒)

191. laya.d3.core.MeshTerrainSprite3D [ 58%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

来源: Laya2.0_api 发布时间: 20190513

192. 在微信分享成功的回调函数里,Laya播放音效失败。 [ 57%]

...eEx.prototype.resume = function () { //在循环中创建敌人 Laya.timer.frameLoop(1,this,this.onLoop); console.log("恢复播放音乐") Laya.SoundManager.stopMusic(); Laya.SoundManager.playMusic("res/sound/BGM.mp3", 0, null); // var test = new EffectFlicker(); // test.startRun(); // test.startRu...

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

193. 进度条滚动无效【已解决】 [ 57%]

...据例子使用无效,就是不滚动,一直在0的位置 Laya.timer.frameLoop(1,this,onLoop); private function onLoop():void { progress++; //最高100%进度 if(progress>=100) { progress=100; this.tips.text="游戏加载完毕,即将进入游戏..." this.panel.visible=false; this.gobtn.vis...

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

194. laya.d3.core.BaseCamera [ 57%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

来源: Laya2.0_api 发布时间: 20190513

195. 如何清除graphics绘制的矢量图 [ 57%]

...动画循环播放Label事件被清除 webgl 绘制graphics出报错 调用frameLoop之后,怎么清除 怎么检测点是否在 graphics所绘制的区域内 问题状态 最新活动: 2017-08-17 15:11 浏览: 1638 关注: 2 人

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

196. 设置相机的skyboxMaterial无效 [ 57%]

...r.create(null, function (mat) { camera.skyboxMaterial = mat; // Laya.timer.frameLoop(1, this, function () { // mat.rotation += 0.1; // }); })); skyBox.zip 2018-10-17 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起...

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

197. 在开启webgl模式下,每次运行texture类的getPixels方法内存都会增加 [ 57%]

...ain.MaskDemo() Laya.timer.frameOnce(5, app, ()=>{ app.init() Laya.timer.frameLoop(2, app, app.getPixels) }) 2017-12-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 wudi199553 赞同来自: canvas下,不会...

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

198. 关于customRender函数不执行的问题 [ 57%]

...ustomRender函数不执行的问题 // 保证customRender必定执行 this.frameLoop(1, this, () => { this.graphics.clear(); this.graphics.drawLine(0, 0, 1, 0, '#000'); }); this.customRenderEnable = true; this.customRender = (context: Laya.RenderContext, x: number, y: number) => { let webGLCon...

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

199. 骨骼怎么没有gotoAndStop方法 [ 57%]

...复 cuixueying 赞同来自: 可以给你的龙骨添加一个Laya.timer.frameLoop计时器,当index(当前帧索引)==total(总帧数)的时候,调stop方法停止并移除计时器即可。 2017-01-17 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问...

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

200. 脚本组件继承于 Laya.Script。 其中的_update方法,多长时间会调用一次? 可以设置调用时间吗? [ 57%]

...aram coverBefore 是否覆盖之前的延迟执行,默认为 true 。 */ frameLoop(delay: number, caller: any, method: Function, args?: Array<any>, coverBefore?: boolean): void; /** 返回统计信息。*/ toString(): string; /** * 清理定时器。 * @param caller 执行域(this)。 * @par...

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