• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 12 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0038 秒)

1. 通过截图的时候获取到base64的数据,怎么给texture使用,我想使用getPixels [ 100%]

通过截图的时候获取到base64的数据,怎么给texture使用,我想使用getPixels 通过截图的时候获取到base64的数据,怎么给texture使用,我想使用getPixels 2018-10-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

来源: Laya_社区 发布时间: 20181026

2. 求教 颜色滤镜和混合模式使用 [ 94%]

...功能, 通过ColorMatrixFilter 来改变 mask图像颜色, 然后和base图像混合一起显示, 可以达到改变base源图部分地方颜色的效果, 这个在layaair有没有办法实现, 下面是之前flash代码   bitmapData.applyFilter(this._mask, this._mask.rect, zeroPoint, th...

来源: Laya_社区 发布时间: 20160730

3. Laya.stage.drawToCanvas 原生ios 使用该api报错,求解决方案 [ 92%]

....stage.width, Laya.stage.height, 0, 0); //获取截屏区域的texture let base64 = htmlC.toBase64("image/jpeg", 1);   使用toBase64 报错can`t find variable conchToBase64FlipY 附件 : --> 2019-06-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

来源: Laya_社区 发布时间: 20190621

4. 使用webgl之后toDataUrl返回黑色的图像 [ 89%]

...) as Sprite).drawToCanvas(100,100,0,0).getCanvas().toDataURL();返回的是base64,你可以把这串base64当作url传给loadImage,也是OK的,请参考以下代码 package { import laya.display.Sprite; import laya.events.Event; import laya.utils.Browser; import laya.utils.Stat; import laya.we...

来源: Laya_社区 发布时间: 20170523

5. 怎么使用http请求 [ 76%]

...ventManager.dispatchCustomEvent(wb.HTTPRE, xhr.responseText); } } }; } var baseStr = __BASE64.encoder(JSON.stringify(data)); xhr.open("POST", url); xhr.setRequestHeader('content-type', 'application/x-www-form-urlencoded'); xhr.send("value=" + baseStr); 这个怎么改成laya的http请求 2018-08-07 ...

来源: Laya_社区 发布时间: 20180807

6. 使用高度图的时候 Cannot read property 'width' of undefined [ 75%]

...高级加载方式,参考下这个http://layaair.ldc.layabox.com/demo/?D3Base_ResourceLoadAndDispose。 用Create加载,获取的时候,用Texture2D.load   2017-06-01 1 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 sfsmmc 相关问...

来源: Laya_社区 发布时间: 20170601

7. HTMLCanvas可以在APP上使用吗 [ 75%]

...as对象 trace(canvas); trace(canvas.toDataURL("image/png"));//打印图片base64信息,可以发给服务器或者保存为图片   这个是我在APP上运行的代码,打印canvas.toDataURL("image/png")显示的日志为NULL ,在手机上有别的方法将一张图截出来吗? 2017-11-0...

来源: Laya_社区 发布时间: 20171108

8. 小程序使用离屏canvas的内容作为背景 [ 69%]

...享 微博 QZONE 微信 qian 赞同来自: 可以用toDataURL转成一个base64地址,然后给Image 2018-01-31 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 wond12 相关问题 LayaAir3D UnityPlugin 使用须知-版本更新-问题...

来源: Laya_社区 发布时间: 20180130

9. 苹果上架有问题啊 , !!!!!! [ 66%]

...nd running remote scripts in order to change app behavior and/or call SPI, based on the contents of the downloaded script. Even if the remote resource is not intentionally malicious, it could easily be hijacked via a Man In The Middle (MiTM) attack, which can pose a serious security vulnerability to...

来源: Laya_社区 发布时间: 20171221

10. 苹果上架问题, [ 59%]

...nd running remote scripts in order to change app behavior and/or call SPI, based on the contents of the downloaded script. Even if the remote resource is not intentionally malicious, it could easily be hijacked via a Man In The Middle (MiTM) attack, which can pose a serious security vulnerability to...

来源: Laya_社区 发布时间: 20171221