大约有 3 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0012 秒)
...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_示例 发布时间: 20241118
...Container.addChild(interactionArea); // 设置叠加模式 interactionArea.blendMode = "destination-out"; // 设置点击区域 hitArea = new Laya.HitArea(); hitArea.hit.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000"); guideContainer.hitArea = hitArea; guideContainer.mouseEnabled = true;...
来源: Laya2.0_示例 发布时间: 20241118
...caleX = dist / 20; laser.pos(pos1.x, pos1.y); laser.pivotY = 43 / 2; laser.blendMode = "lighter"; laser.rotation = (Math.atan2(distY, distX) + Math.PI) * 180 / Math.PI; lasers.push(laser); Laya.stage.addChild(laser); frequency *= 0.9; } for (let i = 0; i 60 * 0.3) { laser.alpha *= 0.9; laser.scaleY ...
来源: Laya2.0_示例 发布时间: 20241118