大约有 1,596 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0062 秒)
Laya_社区(1191) Laya2.0_文档(194) Laya_示例(55) Laya3.0_api(49) Laya2.0_示例(43) Laya3.0_文档(39) Laya2.0_api(13) laya_api(12)
...es/models/item/item.lh", clas: Laya.Sprite3D, priority: 1 } ]; Laya.loader.create(resource, Laya.Handler.create(this, onComplete), Laya.Handler.create(this, onLoading)); } function onLoading(progress){ console.log("加载进度: " + progress); } function onComplete(){ console.log('onComplete'); wx.s...
来源: Laya_社区 发布时间: 20180426
...ease:*=Ease.backIn(100,100,100,100); Tween.to(sp,{x:400},1000,ease,Handler.create(this,onTween)); 2017-01-05 0 0 分享 微博 QZONE 微信 shaotianhk 赞同来自: var ease:*=Ease.backIn(100,100,100,100); 这句是什么鬼,放在js里直接报错 2018-04-02 0 0 分享 微博 QZONE 微信 为什...
来源: Laya_社区 发布时间: 20170105
...</script>2. 在 as 代码中加入如下函数: private static var createTextureCallBack:Function; public static function createTexture(s:Sprite,callback:Function,callbackThis:Object):void{ createTextureCallBack = callback; var htmlCanvas:HTMLCanvas = s.drawToCanvas(512,512,0,0); var realCan...
来源: Laya_社区 发布时间: 20170718
... 里面 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(this, this.onVersionLoaded), Laya.ResourceVersion.FILENAME_VERSION); 和 Laya.AtlasInfoManager.enable("fileconfig.json", Laya.Handler.create(this, this.onConfigLoaded)); 都要删掉。 内涵tv何吓吓 • ...
来源: Laya_社区 发布时间: 20190305
...lob = new Blob([this.response], { type: "image/png" }); var img = document.createElement("img"); img.onload = function (e) { window.URL.revokeObjectURL(img.src); // 清除释放; }; img.src = window.URL.createObjectURL(blob); document.body.appendChild(img); } } xhr.send(); ``` 上面这个方法是...
来源: Laya2.0_文档 发布时间: 20210715
..., {read: false}).pipe(clean()) }) /** 创建文件hash清单 */ gulp.task('create:hash',['clean'], () => { return gulp.src([ './server/static/**/*.atlas', './server/static/**/*.png', './server/static/**/*.mp3' ]) .pipe(hash({ template: '<%= name %><%= ext %>?version=<%= hash %>'...
来源: Laya_社区 发布时间: 20180412
...iyeyou.net/ ... ot%3B, "https://xxdzz.shoujiyeyou.net/ ... ot%3B], Handler.create(this, this.onLoaded), null, "json"); Laya.loader.load(["https://xxdzz.shoujiyeyou.net/mmphp/19.png"], Handler.create(this, this.nlll), null, "image"); 一样的代码,上面加载json就可以,下面加载ima...
来源: Laya_社区 发布时间: 20191024
...ngle 复制 source 对象的属性值到此矩形对象中。 Rectangle create():Rectangle[static] 创建 Rectangle equals(rect:Rectangle):Boolean 检测传入的 Rectangle 对象的属性是否与当前 Rectangle 对象的属性 x、y、width、height 属性值都相等。 Rectangle inters...
来源: Laya2.0_api 发布时间: 20190513
...oader,0,ltcWeight,1.0); var processHandler=Handler.create(null,Laya3D._onProcessChange,[loader,ltcWeight,6 / 7],false); Laya3D._innerFourthLevelLoaderManager.load(urls,Handler.create(null,Laya3D._onTextureCubeImagesLoaded,[loader,urls,processHandler]),...
来源: Laya_社区 发布时间: 20180508
...l"; Laya.stage.bgColor = "#232628"; Laya.loader.load(this.ApePath, Handler.create(this, this.setup)); } private setup(): void { this.normalizeApe(); this.makeRedApe(); this.grayingApe(); } private normalizeApe(): void { var originalApe: Sprite = this.createApe(); this.apeTexture = Laya.loader.getRes...
来源: Laya2.0_文档 发布时间: 20210715