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

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

21. laya.d3.resource.RenderTexture_API3.0 [ 71%]

... _removeReference _setCPUMemory _setCreateURL _setGPUMemory _start destroy event getData gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recreate clearPool createFromPool destroyUnusedResources recoverToPool Constructors constructor new RenderTexture(width: number, heig...

来源: Laya3.0_api 发布时间: 20231102

22. 怎么监听程序关闭事件啊?? [ 71%]

...现在想监听程序关闭事件(就是关闭laya工具),尝试用Event.BLUR和Event.FOCUS才发现是监听游览器的,然后我用了Event.CLOSE,Event.END也是不可以,请问下是调用哪个方法呢??? 附件 : --> 2017-03-16 添加评论 免费帖 --> 分享 微博 QZONE ...

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

23. 3d模型动画播放一次后的回调么用回调。 [ 70%]

...inAni.player.play(0, 1, 0, param.start, param.end); skinAni.player.on(Laya.Event.COMPLETE, null, function(){      console.log("COMPLETE"); }); 2017-03-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuix...

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

24. laya.resource.RenderTextureCube_API3.0 [ 70%]

... _removeReference _setCPUMemory _setCreateURL _setGPUMemory _start destroy event getData gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once recreate clearPool configRenderContextInstance createFromPool destroyUnusedResources recoverToPool Constructors constructor new Rende...

来源: Laya3.0_api 发布时间: 20231115

25. 请大家帮助优化一下这个抛物线的代码 [ 70%]

...a.stage.width / 2; this.ball.y = Laya.stage.height / 2; Laya.stage.on(Laya.Event.CLICK,this,this.onClick); Laya.timer.frameLoop(1,this,this.onEnterFrame); } private onEnterFrame():void{ if(this.points.length>0){ if(this.i<this.points.length){ this.ball.x = this.points[this.i].x; this.ball.y = ...

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

26. eError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'. [ 69%]

eError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'. 把项目运行在编译器中,切到后台一会就会报这个错 2017-10-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 ...

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

27. laya.media.VideoTexture_API3.0 [ 69%]

...oveReference _setCPUMemory _setCreateURL _setGPUMemory canPlayType destroy event gpuCompressFormat hasListener isCreateFromURL load loadedmetadata off offAll offAllCaller on once pause play destroyUnusedResources Constructors constructor new VideoTexture(): VideoTexture Overrides BaseTexture.constru...

来源: Laya3.0_api 发布时间: 20231115

28. matter中更换texture [ 68%]

...,图片没变,好像没有更新. //事件回调---collisionStart Matter.Events.on(engine, 'collisionStart', function(event) { var pairs = event.pairs; // change object colours to show those ending a collision for (var i = 0; i < pairs.length; i++) { var pair = pairs[i]; pair.bodyA.render.fillS...

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

29. Event.CLICK和Event.MOUSE_UP [ 68%]

Event.CLICK和Event.MOUSE_UP 目前的这两个好像没有区别,Event.MOUSE_UP好理解,我有imageA和imageB,现在我先点在imageA上不松,然后移动到imageB上松开,结果为imageB被点(因为它只判定我松开时是什么组件被点)。但我用Event.CLICK也是如...

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

30. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 68%]

...h(config); console.log(`Running 'rollup watcher'...`); let tS; watcher.on('event', (event) => { // event.code 会是下面其中一个: // START — 监听器正在启动(重启) // BUNDLE_START — 构建单个文件束 // BUNDLE_END — 完成文件束构建 // END — 完成所有文件...

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