大约有 163 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0027 秒)
...直黑屏的问题 查看报错日志是:ERROR: Uncaught TypeError: this.drawImage is not a function Laya引擎版本:1.8.4beta 快应用版本:2.6.0 oppo真机机型:OPPO A59s 2019-08-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20190816
...tion(){})); var graphics: Laya.Graphics = new Laya.Graphics(); var dc:Laya.DrawImageCmd = graphics.drawImage(texTure, 0, 0, 16, 16); 生成之后要怎样添加到地图上?
来源: Laya_社区 发布时间: 20190214
...明的 wx.sharedCanvas中。 伪代码如下: this.sharedCanvasContext.drawImage(...) this.sharedCanvasContext.fillText(...) 然后主域这边将sharedCanvas的内容绘制到主屏幕,伪代码如下: var myTexture = new Laya.Texture(sharedCanvas) myTexture.bitmap.alwaysChange = true; th...
来源: Laya_社区 发布时间: 20180419
...e中drawToTexture出的Texture画到canvas里面呢?我只找到了一个drawImage方法,参数类型并不支持Texture或者Texture2D。 我尝试了HTMLCanvas里面的各种方法,各种报错,想将其显示在场景中,也是不得其门而入。许多字面意思看上去可以的方...
来源: Laya_社区 发布时间: 20210627
... wond12 • 2018-01-30 20:52 我知道如果调用微信小游戏原生的drawImage接口是可以做到的,只是不知道和laya怎么结合
来源: Laya_社区 发布时间: 20180130
...eData.width,imageData.height); ctx.drawImage(imageData,0,0); break ; } console.log("load:",data.url); } this.event(data.url,bitmap);...
来源: Laya_社区 发布时间: 20171120
...ircle.x, circle.y, circle.r, 0, Math.PI * 2, false); contex.clip(); contex.drawImage(img, 0, 0, oldImgWidth, oldImgHeight, 0, 0, width, height); contex.restore(); return canvas.toDataURL('image/png'); } 2018-11-25 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问...
来源: Laya_社区 发布时间: 20181125
...5-31 15:57:02.604 17874 17959 E jswrapper: ERROR: Uncaught TypeError: this.drawImage is not a function, location: /data/user/0/com.nearme.instant.platform/app_game/app/com.fuck.module/1/libs/laya.core.js:0:0 05-31 15:57:02.604 17874 17959 E jswrapper: STACK: 05-31 15:57:02.604 17874 17959 E jswrappe...
来源: Laya_社区 发布时间: 20190531
...tmap&&t.source){var i=t.uv,n=t.bitmap.width,s=t.bitmap.height;this.drawImageS(t.bitmap.source,i[0]*n,i[1]*s,(i[2]-i[0])*n,(i[5]-i[3])*s,t.offsetX,t.offsetY,t.width,t.height,e)}} 不过乱七八糟的。。。我本来想做场景过渡的,还是自己写算了。。。 2017-11-18 0 0 ...
来源: Laya_社区 发布时间: 20170405
...let Texture = Laya.Texture.create(t, 0, 0, t.width, t.height); t2.graphics.drawImage(Texture, 0, 0, 56, 56); } 2025-09-23 0 0 分享 微博 QZONE 微信 LayaAir大为 赞同来自: 肖亮亮 您好,我们已经复现这个问题,感谢您的反馈 2025-09-01 1 0 分享 微博 QZONE 微信 为什...
来源: Laya_社区 发布时间: 20250827