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

大约有 370 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0042 秒)

11. 可以帮我测试一下吗? 使用mask的场景,放着就会出现记忆体用完的讯息? [ 84%]

...m • 2018-08-16 15:18 请问下这段代码有什么问题? let s: Laya.Sprite = new Laya.Sprite(); s.graphics.drawRect(10, 10, 580, 470, "#000000"); s.pos(0,0); console.log("=mask container=>>", s.width, s.height)//打印出是0,0 this.scrollContainer.mask = s;//scrollC...

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

12. 两个问题都关于LayaAir的ios真机 [ 84%]

... = stateMap[e.type]); } public static function addDark(target:laya.display.Sprite, isDark:Boolean = true):void { if (isDark) { // laya.ui.UIUtils.addFilter(target, DARK); target.filters=[ new ColorFilter([0.7, 0, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 0, 0.7, 0, 0, 0, 0, 0, 1, 0])]; } else { // laya.ui.UIUtil...

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

13. 锯齿问题 求破 [ 82%]

锯齿问题 求破  var avatarContainer = new Sprite();  var imgTextTure = Laya.loader.getRes('http://q3.qlogo.cn/g?b=qq&s=100&nk=842256713');               var imgSprite = new Sprite();               imgSprite.x = 300               imgSprite.graphics.drawTexture(img...

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

14. 显示对象的mask缩放为0时遮罩效果不生效 [ 81%]

...不见的,但是没有生效 Laya.init(640, 1136); let testSp = new Laya.Sprite(); testSp.width = 200; testSp.height = 50; testSp.graphics.clear(); testSp.graphics.drawRect(0, 0, testSp.width, testSp.height,'#FF0000'); let tmpMask = new Laya.Sprite(); tmpMask.width = testSp.width; tmpMask.height = t...

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

15. Mask显示错误 [ 81%]

Mask显示错误 一张Image,添加一个Sprite作为Mask子节点。调用mask的drawPie来绘制遮罩。在web上是ok的,在native下是错误的。   附件 : --> 2017-06-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

16. 重复使用同一个使用mask的图片对象,dc 不合并 [ 81%]

...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? Texture图片能否进行翻转? ios14系统下 blendMode='lighter' 图片异常 使用了u3D导出来的粒子...

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

17. beta4 模态框关闭后,mask没有正确销毁 [ 80%]

...框点击空白处真的无法关闭 对话框点击空白处无法关闭 Sprite3d如何正确隐藏? Laya2.1.1.1/2/2.2.0关闭多点触摸后在android手机上双手6根手指不停点击出现项目崩溃问题 IOS构建APP后会有个浮动的菜单,请问怎么关闭 问题状态 最新活...

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

18. 自己用graphics画出来的图形做mask没有效果啊,被遮罩的图片直接就看不到了 [ 79%]

...ode='lighter' 图片异常 Texture图片能否进行翻转? matter中layasprite怎么改变图片大小? new Laya.Sprite();绘制图形以后,怎么删除释放资源? 路径是对的,但老是,调试控制台提示:错误,图片是IDE自带的,也不显示 编辑了图片 执行...

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

19. 添加mask后image容器中的对象颜色不对 [ 79%]

...native2 打包android平台 报错 btCollisionObject undefined 为什么给Sprite容器添加点击事件没反应 3d显示对象克隆体超出舞台不再显示的bug2.1.0.btea1 3d 添加灯光 模型变的黑呼呼的 很多黑面 lh文件内meshSprite添加阴影属性无效 问题状态 最新...

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

20. 被遮罩的显示对象的子显示对象再添加遮罩,则子显示对象显示不正确 [ 79%]

...正确。 //这段注释掉,imgMask则正常显示。 let bigMask:Laya.Sprite = new Laya.Sprite(); bigMask.graphics.drawRect(0, 0, 300, 200, "#ffffff"); this.mask = bigMask; // let imgMask:Laya.Sprite = new Laya.Sprite(); imgMask.graphics.drawRect(0, 0, 100, 300, "#ffffff"); this.img.mask = imgMas...

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