大约有 340 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0055 秒)
...的需求适当调整,如果内容不变可以不用设置成true sprite.graphics.drawTexture(texture, 0, 0, texture.width, texture.height); Laya.stage.addChild(sprite); }); 2018-11-23 添加评论 已悬赏5元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20181123
...aya.Texture(sharedCanvas); texture.bitmap.alwaysChange = true; rankSprite2.graphics.drawTexture(texture, left*pixelRatio, top*pixelRatio, width*pixelRatio,height*pixelRatio); 这样在安卓上跑好卡啊 2018-05-07 0 0 分享 微博 QZONE 微信 yung 赞同来自: 关于开放域,微信将...
来源: Laya_社区 发布时间: 20180426
...this,this.drawHandler); } private function drawHandler():void { Laya.stage.graphics.clear(); var dataArray:Uint8Array = new Uint8Array(analyser.frequencyBinCount); analyser.getByteFrequencyData(dataArray); var step:int = Math.round(dataArray.length / 60); for (var i:int = 0; i < 40; i++) { var energ...
来源: Laya2.0_文档 发布时间: 20210715
...自: 不知道你说的功能是基于2d的还是3d的,2d的可以通过graphics的方式,drawtexture的方法你绘制几张带透明度的图片应该就可以实现你的效果。 2020-07-19 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 ...
来源: Laya_社区 发布时间: 20181217
...etRes("../../res/apes/monkey2.png"); var ape = new Sprite(); ape.graphics.drawTexture(t, 0, 0); Laya.stage.addChild(ape); ape.pos(200, 0); })); kezhiyu • 2018-06-04 14:38 另外说下你的压缩包如果不是可以用laya 的ide打开的话 他们是不会管的 夏末 • 2018-06-04 1...
来源: Laya_社区 发布时间: 20180604
...as); rankTexture.bitmap.alwaysChange = true; var pl = new Laya.Sprite() pl.graphics.drawTexture(rankTexture, 0, 0); body.addChild(pl) } 附件 : --> 2018-12-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 Laya...
来源: Laya_社区 发布时间: 20181217
....Sprite(); charSp = Laya.Pool.getItemByClass("sprite",Laya.Sprite); charSp.graphics.fillTexture(this._imageData,charData.x,charData.y,charData.w,charData.h,"no-repeat",new Laya.Point(-charData.x,-charData.y)); charSp.size(charData.w,charData.h) charSp.scrollRect = new Laya.Rectangle(charData.x,charD...
来源: Laya_社区 发布时间: 20161014
... Laya.stage.addChild(sprite); sprite.graphics.drawTexture(rankTexture,0,0,rankTexture.width,rankTexture.height); // console.log("再次往开放域发请求"); // openDataContext.postMessage({ ...
来源: Laya_社区 发布时间: 20180529
... _proto.setGradientText = function () { this.graphics.clear(); let data = ''; data += 'data:image/svg+xml,' + '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" '; da...
来源: Laya_社区 发布时间: 20180824
...Texture = Laya.loader.getRes(m_MapImgUrl); m_mapLayer.graphics.drawTexture(tex); m_mapLayer.width= tex.width; m_mapLayer.height = tex.height; this.on_stage_resize(); } private function on_...
来源: Laya_社区 发布时间: 20170921