大约有 2,023 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0060 秒)
Laya_社区(1419) Laya2.0_文档(233) Laya_示例(141) Laya2.0_示例(117) Laya3.0_api(61) Laya3.0_文档(39) Laya2.0_api(7) laya_api(6)
phasorSpriter3D 无法使用 Laya.timer.frameLoop(1, this, () => { this.phasorSpriter3D = new Laya.PhasorSpriter3D(); var _color = new Laya.Vector4(1, 0, 0, 1); var _corners = new Array<Laya.Vector3>(); _corners[0] = new Laya.Vector3(); _corners[1] = new Laya.Vector3(); _corners[2] = new L...
来源: Laya_社区 发布时间: 20180821
...", true); xhr.responseType = "arraybuffer"; xhr.onload = function () { if (this.status == 200) { var blob = new Blob([this.response], { type: "image/png" }); var img = document.createElement("img"); img.onload = function (e) { window.URL.revokeObjectURL(img.src); // 清除释放; }; img.src = window...
来源: Laya3.0_文档 发布时间: 20230303
...it: ISubmit; if (src._targets) { //生成渲染结果到src._targets上 /* this._submits[this._submits._length++] = SubmitCanvas.create(src, 0, null); _curSubmit = SubmitBase.RENDERBASE; //画出src._targets //drawTexture(src._targets.target.getTexture(), x, y, width, height, 0, 0); */ //应用并...
来源: Laya_社区 发布时间: 20210527
...Image; //private text: Laya.Label; constructor(){ super(); this.size(Item.WID, Item.HEI); this.img = new Laya.Image(); //this.text = new Laya.Label(); this.addChild(this.img); //this.addChild(this.text); } public setImg(src: string): vo...
来源: Laya_社区 发布时间: 20180507
...为/** *获取对象的宽 */ __getset(0,__proto,'width',function(){ if (this._width)return this._width; return this.contextWidth; },[b]_super.prototype._$set_width[/b]);此次出问题的版本为/** *获取对象的宽 */ __getset(0,__proto,'width',function(){ if (this._width)return this._width; r...
来源: Laya_社区 发布时间: 20170620
...0,600,WebGL); index=15; mFactory=new Templet(); mFactory.on(Event.COMPLETE,this,omTemLoaded); mFactory.loadAni('NewDragon/NewDragon.sk'); } private function omTemLoaded():void { mArmature=mFactory.buildArmature(0); Laya.stage.addChild(mArmature); Laya.stage.on(Event.CLICK,this,onClick); mArmature.pl...
来源: Laya_社区 发布时间: 20170509
...der.maxLoader = 1; Laya.loader.load("res/apes/monkey2.png", Handler.create(this, this.onAssetLoaded), null, null, 0, false); Laya.loader.load("res/apes/monkey1.png", Handler.create(this, this.onAssetLoaded), null, null, 1, false); Laya.loader.load("res/apes/monkey0.png", Handler.create(this, this.on...
来源: Laya2.0_示例 发布时间: 20241118
... Laya.loader.create(_path, Handler.create(this,OnComplete,null),null,null,null,1,true,groupName); }else{ var item:Sprite3D = Pool.getItem(_path); ...
来源: Laya_社区 发布时间: 20180601
... Laya.Sprite3D.load("Models/Ball.lh", Laya.Handler.create(this, function(sp){ for(var i=0; i<3; i++){ var ball = myscene.addChild(sp.clone()); ball.name = i.toString(); ...
来源: Laya_社区 发布时间: 20200723
...ui_imgs/img_10103.png"; fish.scoreItem.sizeGrid = '0,10,0,10'; var price = this.getFishVal('10001', 3); var length = String(price).length; var w = length * 16 + 15 + 40; fish.scoreItem.width = w; fish.scoreItem.x = fish.getBox().x - fish.scoreItem.width/2; fish.scoreItem.y = fish.getBox().y - fish.s...
来源: Laya_社区 发布时间: 20180517