大约有 4,102 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0078 秒)
Laya_社区(3323) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(116) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...111/.com/libs/laya.d3.js:24049: RangeError: Array buffer allocation failed this._vertices = new Float32Array(this._floatCountPerVertex * lastVBVertexCount); ^^ RangeError: Array buffer allocation failed at new ArrayBuffer (<anonymous>) at new Float32Array (<anonymous>) at ShurikenParticl...
来源: Laya_社区 发布时间: 20211211
...多个.sk 资源,加载后使用是如何获取,并且创建动画? this.sk_86.loadAni("birdami_86.sk"); this.sk_87.loadAni("birdami_87.sk"); 这样是加载后的回调,没有达到预加载效果 this.sk_86.buildArmature(1); 有其他方法提供参考一下吗?谢谢 2017-08-29 添加...
来源: Laya_社区 发布时间: 20170829
...选取(app) 版本:2.13.1 用这个方法检测不到3d射线碰撞 this._scene.physicsSimulation.rayCast(this.ray,this.outHitResult); 附件是引擎生成的简单的3d物理demo,简单改了几行。 补充说明: h5没问题,是app无法选中。我把native和layaair都升...
来源: Laya_社区 发布时间: 20221226
...play的第二个参数是true,监听mArmature.player.on(Event.COMPLETE,this,onComplete);即可 如果play的第二个参数是false,监听mArmature.on(Event.STOPPED, this, completeHandler);即可! 2017-08-07 1 0 分享 微博 QZONE 微信 cuixueying 赞同来自: sketon.player.on(Event.COMP...
来源: Laya_社区 发布时间: 20170802
... x:1 ,y:2 ,update:new Laya.Handler(box,function(){ this.transform.position = this.potOld; }) }, ConstValue.animationTime,Laya.Ease.elasticOut,Laya.Handler.create(this, function(){ console.log("complete"); }),ConstValue.animationDelay); 无法直接设置原因...
来源: Laya_社区 发布时间: 20170630
...(x,y,width,height){ if (Render.isWebGL){ return RunDriver.getTexturePixels(this,x,y,width,height); }else { Browser.canvas.size(width,height); Browser.canvas.clear(); Browser.context.drawTexture(this,-x,-y,this.width,this.height,0,0); var info=Browser.context.getImageData(0,0,width,height); } return ...
来源: Laya_社区 发布时间: 20171201
layaair怎么实现界面跳转 this.headImg.on(Laya.Event.CLICK, this, this.myCenterClick); //跳转到百度 public myCenterClick(): void { 这里面怎么写 } 2017-10-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...
来源: Laya_社区 发布时间: 20171030
问一下tween的一些参数怎么设置 比如 Laya.Tween.from(this,{scaleX:0.5,scaleY:0.5},1000,Laya.Ease.elasticOut); 我可以修改elasticOut的回弹次数和回弹时间么? 2016-09-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20160913
... = "http://thirdqq.qlogo.cn/g%3Fb% ... 3B%3B xhr.once(Laya.Event.COMPLETE, this, this.completeHandler, [url, 1]); xhr.once(Laya.Event.ERROR, this, this.errorHandler); xhr.send(url, "", "get", "arraybuffer"); } } GameMain.prototype.completeHandler = function (URL, id, data) { // private completeHandl...
来源: Laya_社区 发布时间: 20180629
...com/wanmaple/MWFrameworkForLayaAirJs 关注下GameController.js文件下的this._jet、this._cometView、this._energyView,分别是三个粒子,前两个粒子会出现问题1,后一个粒子会出现问题2。 粒子正常 粒子变得微弱 附件 : --> 2016-12-11 添加评论 免费...
来源: Laya_社区 发布时间: 20161211