大约有 2,465 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0067 秒)
Laya_社区(2158) Laya3.0_api(99) Laya2.0_api(77) laya_api(67) Laya2.0_文档(36) Laya3.0_文档(17) Laya_示例(6) Laya2.0_示例(5)
... Sprite(); var graphics:Graphics=new Graphics(); graphics.save(); graphics.alpha(0.5); graphics.drawRect(0,0,200,100,"#FF0000"); graphics.restore(); sp.graphics=graphics; Laya.stage.addChild(sp);实现graphics填充透明,请先对graphics进行save(),然后设置填充透明度值,其次绘制...
来源: Laya_社区 发布时间: 20161130
...absolute`为`false`。 - `rotationInfo` —— RotationInfo类型,包含`alpha`、`beta`、`gamma`三个值,将在下面详细讨论。 `alpha`、`beta`和`gamma`属性必须指示设备的方向,其表现形式为从固定在地球上的坐标系到固定在设备上的坐标系的转换...
来源: Laya2.0_文档 发布时间: 20210715
...dLabel("turnDown", 0).to(this.target, {x:450, y:300, scaleX:0.2, scaleY:1, alpha:1}, 2000, null, 0) .addLabel("turnLeft", 0).to(this.target, {x:100, y:300, scaleX:1, scaleY:0.2, alpha:0.1}, 2000, null, 0) .addLabel("turnUp", 0).to(this.target, {x:100, y:100, scaleX:1, scaleY:1, alpha:1}, 2000, null,...
来源: Laya2.0_示例 发布时间: 20251130
...nglesCmd 绘制三角形命令 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 Define...
来源: Laya3.0_api 发布时间: 20231115
...图文本怎么做渐变消隐动画? 为什么好多主键都没有了alpha选项?动画模式不支持文本,场景模式文本不支持alpha选项,请问位图文本怎么做渐变消隐动画? 2018-12-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20181227
...sCmd Object 绘制三角形命令 Public Properties PropertyDefined By alpha : Number alpha DrawTrianglesCmd blendMode : String blend模式 DrawTrianglesCmd color : ColorFilter 颜色变换 DrawTrianglesCmd indices : Uint16Array 顶点索引。 DrawTrianglesCmd matrix : Matrix 缩放...
来源: Laya2.0_api 发布时间: 20190513
...设置详细步骤 调整一个graphics的透明度需要4个步骤 save;alpha;draw;restore; 比如://画一个半透明屎黄色区域 this.graphics.save(); this.graphics.alpha(0.5); this.graphics.drawRect(-40, -110, 80, 110, "#ffcc00"); this.graphics.restore(); //再画一个红色小半透...
来源: Laya_社区 发布时间: 20161228
...一致 表现如下图所示 补充说明: ①目前测试下来对于含Alpha通道的贴图都会出现此问题(比如需要用Alpha来存储信息的遮罩图); ②BC3格式下无论是否勾选“预乘Alpha”,表现上均不会发生变化; ③RGBA格式下勾选“预乘Alpha”...
来源: Laya_社区 发布时间: 20231129
... x 5 矩阵转换应用于输入图像上的每个像素的 RGBA 颜色和 Alpha 值,以生成具有一组新的 RGBA 颜色和 Alpha 值的结果。该类允许饱和度更改、色相旋转、亮度转 Alpha 以及各种其他效果。您可以将滤镜应用于任何显示对象(即,从 Spr...
来源: Laya_社区 发布时间: 20171126
...复 Laya_z 赞同来自: 这个问题是粒子中应该是有贴图没有alpha通道导致的,所以在使用叠加模式的时候混合出了alpha为0,你将资源中没有alpha通道的贴图改为带alpha通道的贴图就可以了 2022-03-31 0 0 分享 微博 QZONE 微信 为什么被折...
来源: Laya_社区 发布时间: 20220331