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

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

31. 使用blendMode=add模式时,某些手机上无法正常显示,出现黑底 [ 91%]

使用blendMode=add模式时,某些手机上无法正常显示,出现黑底 引擎版本1.7.18在某些手机,使用腾讯x5浏览器,add混合模式,混合区域变成黑底 测试代码很简单,就是放一张底图,上面叠一张特效帧 package {     import laya.webgl.WebGL...

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

32. 运用Sprite的属性blendMode为"destination-out"时得到黑圈,与引擎示例中的效果不同,想知道为什么 [ 90%]

运用Sprite的属性blendMode为"destination-out"时得到黑圈,与引擎示例中的效果不同,想知道为什么   附件 : --> 2017-08-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞...

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

33. ios14系统下 图片异常 [ 89%]

ios14系统下 图片异常 ios14系统下 png 带透明的素材 blendMode='lighter' 图片会异常,必现,粒子也有。 附件 : --> 2020-11-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 layabox 赞...

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

34. 游戏引导 原来使用 blendMode = "destination-out"; 现在怎么用? [ 88%]

游戏引导 原来使用 blendMode = "destination-out"; 现在怎么用? /**指定要使用的混合模式。目前只支持"lighter"。*/ blendMode: string; 2018-07-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...

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

35. 混合模式-Lighter [ 86%]

...bgColorChannels = { r: 99, g: 0, b: 0xFF }, gradientInterval = 2000; class BlendMode_Lighter { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Sprite = Laya.Sprite, Tween = Laya.Tween; // 不支持WebGL时自动切换至Canvas Laya.init(phoenix...

来源: Laya2.0_示例 发布时间: 20251130

36. 在最新的IOS14上,UI的lighter模式渲染不正确,背景是黑色的,无法实现透明 [ 84%]

...abox 赞同来自: ebaww LayaAir 2.x修改方法:  如果是源码版是BlendMode.ts 找到 static BlendAdd(gl: WebGLRenderingContext): void { WebGLContext.setBlendFunc(gl, gl.ONE, gl.DST_ALPHA,true); } 替换为: static BlendAdd(gl: WebGLRenderingContext): void { WebGLContext.setBlendFunc(gl, ...

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

37. laya.display.cmd.DrawTextureCmd_API3.0 [ 83%]

...tureCmd 绘制单个贴图 Hierarchy DrawTextureCmd Index Properties alpha blendMode color height matrix texture uv width x y ID Methods recover Properties alpha alpha: number Defined in laya/display/cmd/DrawTextureCmd.ts:42 (可选)透明度。 blendMode blendMode: string | null Defined in laya...

来源: Laya3.0_api 发布时间: 20231115

38. laya.display.cmd.DrawTrianglesCmd_API3.0 [ 82%]

...md 绘制三角形命令 Hierarchy DrawTrianglesCmd Index Properties alpha blendMode color indices matrix texture uvs vertices x y ID Methods getBoundPoints recover Properties alpha alpha: number Defined in laya/display/cmd/DrawTrianglesCmd.ts:46 alpha blendMode blendMode: string | null Defined in l...

来源: Laya3.0_api 发布时间: 20231115

39. laya.display.css.SpriteStyle_API3.0 [ 81%]

...式 Hierarchy SpriteStyle Index Constructors constructor Properties alpha blendMode dragging hitArea pivotX pivotY rotation scaleX scaleY scrollRect skewX skewY viewport EMPTY Methods recover reset create Constructors constructor new SpriteStyle(): SpriteStyle Defined in laya/display/css/SpriteStyle...

来源: Laya3.0_api 发布时间: 20231115

40. 混合模式-Lighter [ 80%]

...合模式的凤凰 var blendedPhoenix = createAnimation(); blendedPhoenix.blendMode = "lighter"; blendedPhoenix.scale(scaleFactor, scaleFactor); blendedPhoenix.y = (Laya.stage.height - phoenixHeight * scaleFactor) / 2; // 正常模式的凤凰 var normalPhoenix = createAnimation(); normalPhoenix.sca...

来源: Laya_示例 发布时间: 20251130